Re: Do away with a few backwards compatibility macros - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Do away with a few backwards compatibility macros
Date
Msg-id 1425715.1700543136@sss.pgh.pa.us
Whole thread Raw
In response to Re: Do away with a few backwards compatibility macros  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Do away with a few backwards compatibility macros
List pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Thu, Nov 16, 2023 at 09:46:22AM -0600, Nathan Bossart wrote:
>> I'm fine with this because all of these macros are no-ops for all supported
>> versions of Postgres.  Even if an extension is using them today, you'll get
>> the same behavior as before if you remove the uses and rebuild against
>> v12-v16.

> Barring objections, I'll plan on committing this in the next week or so.

No objection here, but should we try to establish some sort of project
policy around this sort of change (ie, removal of backwards-compatibility
support)?  "Once it no longer matters for any supported version" sounds
about right to me, but maybe somebody has an argument for thinking about
it differently.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Давыдов Виталий
Date:
Subject: How to accurately determine when a relation should use local buffers?
Next
From: Amit Kapila
Date:
Subject: Re: Synchronizing slots from primary to standby