]> 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:04:13 +0000 (21:04 -0400)
commit08dd649e7e4048b8d8e723d5e00835b373e0b85c
treed475e96e5cde820e443723b356c3f9cf2400ea8f
parentb125d9a7a0b36893f2a153822cbce82c40bd9253
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
(cherry picked from commit 32ce703a98eba8a7685e609b4a7ca86b79dd0904)
doc/build/changelog/unreleased_12/4323.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py