Re: Always bump PG_CONTROL_VERSION? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Always bump PG_CONTROL_VERSION?
Date
Msg-id 1298577.1620850696@sss.pgh.pa.us
Whole thread Raw
In response to Re: Always bump PG_CONTROL_VERSION?  (David Steele <david@pgmasters.net>)
Responses Re: Always bump PG_CONTROL_VERSION?
Re: Always bump PG_CONTROL_VERSION?
List pgsql-hackers
David Steele <david@pgmasters.net> writes:
> On 5/12/21 3:21 PM, Alvaro Herrera wrote:
>> Why don't you use the PG_VERSION file in the datadir?

> Mostly because there is other data we need in pg_control and it is 
> simpler to read one file than two.

I'm disinclined to change the longstanding rule in this area for
a reason as weak as that.

Even if we did change the rule going forward, you'd still need to
do it properly for existing releases, so I don't see that you're
going to save anything.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michail Nikolaev
Date:
Subject: Re: [PATCH] Full support for index LP_DEAD hint bits on standby
Next
From: Andres Freund
Date:
Subject: Re: Always bump PG_CONTROL_VERSION?