You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(postgres): inOpenTransaction must detect BEGIN without an assigned XID #787
PostgresConnection.inOpenTransaction probes pg_current_xact_id_if_assigned() IS NOT NULL (PG 13+). A BEGIN followed only by SELECTdoes not assign an XID, so the SQL-tab badge stays off and autocommit-off prepends a secondBEGIN.
Scope
Probe pg_stat_activity.xact_start for pg_backend_pid()or track BEGIN/COMMIT/ROLLBACK locally on the session.
Autocommit-off must not emit BEGIN; concatenated with the next statement (see multi-statement execute issue).
Activity
ZhuchkaTriplesix commentedon Sep 20, 2026
Shipped in #860