diff options
| author | Iuri de Silvio <iurisilvio@gmail.com> | 2016-04-27 10:27:00 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-08 14:41:05 -0400 |
| commit | 31a0da32a8af2503c6b94123a0e869816d83c707 (patch) | |
| tree | f4ee475d51518e3216ede8df3ad4bf1e5ba18c33 /doc | |
| parent | 24d29a63b6a30d1f1cd4d1097c021be0302c7922 (diff) | |
| download | sqlalchemy-31a0da32a8af2503c6b94123a0e869816d83c707.tar.gz | |
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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_11.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index fe56c4cf3..8d20ef257 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -22,6 +22,17 @@ :version: 1.1.0b1 .. change:: + :tags: feature, postgresql + :pullreq: bitbucket:84 + + The DDL for DROP INDEX will emit "CONCURRENTLY" if the + ``postgresql_concurrently`` flag is set upon the + :class:`.Index` and if the database in use is detected as + Postgresql version 9.2 or greater. For CREATE INDEX, database + version detection is also added which will omit the clause if + PG version is less than 8.2. Pull request courtesy Iuri de Silvio. + + .. change:: :tags: bug, orm :tickets: 3708 |
