Re: Always bump PG_CONTROL_VERSION?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Steele <david(at)pgmasters(dot)net>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Always bump PG_CONTROL_VERSION?
Date: 2021-05-12 20:18:16
Message-ID: 1298577.1620850696@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Steele <david(at)pgmasters(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-05-12 20:30:27 Re: Always bump PG_CONTROL_VERSION?
Previous Message Michail Nikolaev 2021-05-12 20:12:09 Re: [PATCH] Full support for index LP_DEAD hint bits on standby