Re: TransactionIdIsActive() has long been unused
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Heikki Linnakangas <hlinnaka@iki.fi>
Date: 2025-07-09T19:46:43Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > Seems like we should just remove TransactionIdIsActive()? +1. I wondered if any extensions might depend on it, but could not find any trace of that in Debian code search. And it's a sufficiently odd test (as noted in its comments) that one could debate whether using it for an extension's purposes would be correct anyway. regards, tom lane
Commits
-
Remove long-unused TransactionIdIsActive()
- f2c87ac04e73 19 (unreleased) landed
-
Fix race condition in preparing a transaction for two-phase commit.
- bb38fb0d43c8 9.4.0 cited