Re: Consistently use the XLogRecPtrIsInvalid() macro - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: Consistently use the XLogRecPtrIsInvalid() macro
Date
Msg-id 202511192201.3wvvrchnvyfb@alvherre.pgsql
Whole thread Raw
In response to Re: Consistently use the XLogRecPtrIsInvalid() macro  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2025-Nov-19, Robert Haas wrote:

> I do not know how to make the phrase "older minor releases" any more
> clear.

It's perfectly clear.  I just don't believe this claim.

> You and Álvaro seem to be under the impression that nobody will
> ever try to compile code written after this change from a point
> release that we shipped before this change. While I don't think that
> will be a common thing to do, I'm not sure where you get the idea that
> older minor releases completely cease to be relevant when we release a
> new one. That's just not how it works.

I'm sure compiled versions continue to be relevant, but I highly doubt
anybody compiles afresh with old minors.

> I bet if we look in a few years we'll find modules on PGXN that have
> #ifdef logic in them to make sure they can work with both
> XLogRecPtrIsInvalid and XLogRecPtrIsValid.

Ok, let's wait a few years and see.  My bet is you won't find any.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: 10% drop in code line count in PG 17
Next
From: Melanie Plageman
Date:
Subject: Re: Checkpointer write combining