Re: TransactionIdIsActive() has long been unused

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: TransactionIdIsActive() has long been unused
Date: 2025-07-10 00:52:45
Message-ID: aG8O3RNjt5VqduXf@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 09, 2025 at 03:46:43PM -0400, Tom Lane wrote:
> 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.

+1.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-07-10 01:18:24 Re: Add pg_get_injection_points() for information of injection points
Previous Message Thomas Munro 2025-07-10 00:01:12 Re: Remaining dependency on setlocale()