]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve pg two-phase transactions
authorFederico Caselli <cfederico87@gmail.com>
Mon, 13 Apr 2026 21:53:00 +0000 (23:53 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 14 Apr 2026 19:46:28 +0000 (21:46 +0200)
commit08cef20f4a2bfbeda61abfe6caee975190f0794c
tree49c3881e2c30963873a44bdea5c8b42c69f9f2d1
parentd3a85fbd07fbd88e5872df39290db050c0a6f0a9
Improve pg two-phase transactions

Improve handling of two phase transaction identifiers for PostgreSQL
when the identifier is provided by the user.
As part of this change the psycopg dialect was updated to use the DBAPI
two phase transaction API instead of executing the SQL directly.

Fixes: #13229
Change-Id: If8301a7253b4a0c88e5323c9a052c3a9fa258780
doc/build/changelog/unreleased_20/13229.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/_psycopg_common.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/provision.py
lib/sqlalchemy/dialects/postgresql/psycopg.py
lib/sqlalchemy/dialects/postgresql/psycopg2.py
lib/sqlalchemy/engine/base.py
test/engine/test_execute.py