Re: Always bump PG_CONTROL_VERSION?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: David Steele <david(at)pgmasters(dot)net>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Always bump PG_CONTROL_VERSION?
Date: 2021-05-12 19:21:45
Message-ID: 20210512192145.GA23649@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-05-12 19:34:12 Re: Always bump PG_CONTROL_VERSION?
Previous Message David Steele 2021-05-12 18:58:11 Always bump PG_CONTROL_VERSION?