Re: TransactionIdIsActive() has long been unused - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: TransactionIdIsActive() has long been unused
Date
Msg-id aG8O3RNjt5VqduXf@paquier.xyz
Whole thread Raw
In response to Re: TransactionIdIsActive() has long been unused  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jul 09, 2025 at 03:46:43PM -0400, Tom Lane wrote:
> 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.

+1.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Remaining dependency on setlocale()
Next
From: Michael Paquier
Date:
Subject: Re: Add pg_get_injection_points() for information of injection points