]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add new DDL autocommit expressions for Postgresql
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Feb 2017 19:20:38 +0000 (14:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Feb 2017 19:45:40 +0000 (14:45 -0500)
commit3b6004e6ab3fef8e37fb42981c02f4dfa34fe3b7
tree1b259c32e5b425ad0373f6d24e9b4fa2b7d415d2
parentf107dd78eccb9a6d38d84364d9efd6ad5e1c71da
Add new DDL autocommit expressions for Postgresql

Added regular expressions for the "IMPORT FOREIGN SCHEMA",
"REFRESH MATERIALIZED VIEW" Postgresql statements so that they
autocommit when invoked via a connection or engine without
an explicit transaction.  Pull requests courtesy Frazer McLean
and PaweÅ‚ Stiasny.

Fixes: #3840
Co-authored-by: Frazer McLean
Co-authored-by: Paweł Stiasny
Change-Id: I92b2b61683d29d57fa23a66a3559120cb1241c2f
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/323
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_dialect.py