On 5/12/21 3:21 PM, Alvaro Herrera wrote:
> 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?
Mostly because there is other data we need in pg_control and it is
simpler to read one file than two.
Regards,
--
-David
david(at)pgmasters(dot)net