]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix reflection of enum named intervalsomething
authorFederico Caselli <cfederico87@gmail.com>
Mon, 21 Jul 2025 21:36:43 +0000 (23:36 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 28 Jul 2025 16:41:03 +0000 (18:41 +0200)
commitd3215624c5ec05e12ac51f5b66e114252a26d3a4
treeafb59c81cc8b293d15d271086a5a5d16e8a33364
parent45299c3d9307e0bba02bfc1061db3181c752da13
Fix reflection of enum named intervalsomething

Fixes bug that would mistakenly interpret a domain or enum type
with name starting in ``interval`` as an ``INTERVAL`` type while
reflecting a table.

Fixes: #12744
Change-Id: I89ab287c3847ca545691afe73f26d86bf2337ae0
(cherry picked from commit 0620f7d35251befc72247370820e1ac9a931440e)
doc/build/changelog/unreleased_20/12744.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py