Re: TransactionIdIsActive() has long been unused

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

Hi,

On 2025-07-10 09:52:45 +0900, Michael Paquier wrote:
> 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.

Great. Thanks for checking Tom, Michael. Pushed.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2025-07-12 15:29:43 Re: PATCH: warn about, and deprecate, clear text passwords
Previous Message Tom Lane 2025-07-12 15:15:41 Re: [PATCH] replace float8 with int in date2isoweek() and date2isoyear()