]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support `postgresql_concurrently` on index dropping.
authorIuri de Silvio <iurisilvio@gmail.com>
Wed, 27 Apr 2016 15:27:00 +0000 (10:27 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Jun 2016 18:41:05 +0000 (14:41 -0400)
commit31a0da32a8af2503c6b94123a0e869816d83c707
treef4ee475d51518e3216ede8df3ad4bf1e5ba18c33
parent24d29a63b6a30d1f1cd4d1097c021be0302c7922
Support `postgresql_concurrently` on index dropping.

Also adds version detection so that DROP INDEX CONCURRENTLY
only renders if the Postgresql version is 9.2 or higher;
for CREATE INDEX CONCURRENTLY, version detection is added
to allow the phrase to omit if the Postgresql version is
less than 8.2.

Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com>
Change-Id: I597287e0ebbbe256c957a3579b58ace6848ab4f4
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/84
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py