]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Strip quotes from format_type in addition to other characters
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 22 Aug 2018 00:59:04 +0000 (20:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 22 Aug 2018 01:03:44 +0000 (21:03 -0400)
commit32ce703a98eba8a7685e609b4a7ca86b79dd0904
treedaccb23549471e07d963b31a93722e2035a51738
parentaafc4cb2c93e474e068983927475ea3f2f370524
Strip quotes from format_type in addition to other characters

Fixed bug in PostgreSQL ENUM reflection where a case-sensitive, quoted name
would be reported by the query including quotes, which would not match a
target column during table reflection as the quotes needed to be stripped
off.

Fixes: #4323
Change-Id: I668f3acccc578e58f23b70c82d31d5c1ec194913
doc/build/changelog/unreleased_12/4323.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py