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

From Alvaro Herrera
Subject Re: Always bump PG_CONTROL_VERSION?
Date
Msg-id 20210512192145.GA23649@alvherre.pgsql
Whole thread Raw
In response to Always bump PG_CONTROL_VERSION?  (David Steele <david@pgmasters.net>)
Responses Re: Always bump PG_CONTROL_VERSION?
List pgsql-hackers
On 2021-May-12, David Steele wrote:

> pgBackRest uses PG_CONTROL_VERSION to identify the version of PostgreSQL
> when it is not running. If PG_CONTROL_VERSION does not change from a prior
> version then we also use CATALOG_VERSION_NO to uniquely identify the
> version.

Why don't you use the PG_VERSION file in the datadir?


-- 
Álvaro Herrera                            39°49'30"S 73°17'W
"I dream about dreams about dreams", sang the nightingale
under the pale moon (Sandman)



pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Always bump PG_CONTROL_VERSION?
Next
From: Andres Freund
Date:
Subject: Re: Always bump PG_CONTROL_VERSION?