]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair xid in psycopg
authorFederico Caselli <cfederico87@gmail.com>
Fri, 5 Jun 2026 19:51:13 +0000 (21:51 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 8 Jun 2026 20:17:57 +0000 (22:17 +0200)
commit75cb5aec658196a0bae5d07216d790126ebc0739
tree430e81072ae121fbd9834d2ceacbf0451dc79580
parent0798e6cbe11b302c86dedff3d8e75eeb8ae045be
repair xid in psycopg

Repaired bug introduced in :ticket:`13229` where a two-phase
transaction recovery would not return the correct transaction
identifier when generating the identifiers using the ``xid()``
method of the psycopg connection.

Fixes: #13355
Change-Id: Iffe68c1701afaa678fa7b598559dd396d3f8db41
doc/build/changelog/unreleased_20/13355.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/_psycopg_common.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/testing/fixtures/base.py
test/dialect/postgresql/test_dialect.py