Re: TransactionIdIsActive() has long been unused

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: TransactionIdIsActive() has long been unused
Date: 2025-07-09 19:46:43
Message-ID: 1342533.1752090403@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2025-07-09 19:56:12 Re: C11 / VS 2019
Previous Message Tom Lane 2025-07-09 19:42:30 Re: [PoC] Federated Authn/z with OAUTHBEARER