]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
don't check standard_conforming_strings less than server version 8.2
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Nov 2020 00:35:25 +0000 (19:35 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 14 Nov 2020 00:35:25 +0000 (19:35 -0500)
commit415ddce1e3b429bdc1180c5b5f7750a08d226525
tree62b3680e80556e2bf8fba9d744de31b7654d79cc
parent0ac36e3d7dd22af743661f89e6cd9d28a0dcc7bf
don't check standard_conforming_strings less than server version 8.2

Fixed a small regression where the query for "show
standard_conforming_strings" upon initialization would be emitted even if
the server version info were detected as less than version 8.2, previously
it would only occur for server version 8.2 or greater. The query fails on
Amazon Redshift which reports a PG server version older than this value.

Fixes: #5698
Change-Id: Ib27ce4b05106d986a618597e4cf253504f981bf1
doc/build/changelog/unreleased_14/5698.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_dialect.py