]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add TRUNCATE to postgres autocommit regexp
authorJacob Hayes <jacob.r.hayes@gmail.com>
Fri, 15 Dec 2017 14:56:59 +0000 (09:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 18 Dec 2017 16:33:09 +0000 (11:33 -0500)
commit756d5782870029f2d97b1aa171abd61dbf4cbcb4
tree3dac92daa83fd7e2dcdacb858e43d0fef4e547ec
parent19e13cf3d203b59ad285ab0193cb9fc53c4fcff2
Add TRUNCATE to postgres autocommit regexp

Extends AUTOCOMMIT_REGEXP for the postgres dialect to include `TRUNCATE`.

Change-Id: I315e03674b89bb89aae669b8655481e4d890491e
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/407
doc/build/changelog/unreleased_11/pg_truncate.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_dialect.py