Re: Always bump PG_CONTROL_VERSION?

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: Always bump PG_CONTROL_VERSION?
Дата
Msg-id 7c9ce1d2-9d9d-be54-43c6-bef237b3a2ac@pgmasters.net
обсуждение исходный текст
Ответ на Re: Always bump PG_CONTROL_VERSION?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Always bump PG_CONTROL_VERSION?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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@pgmasters.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Granting control of SUSET gucs to non-superusers
Следующее
От: Michail Nikolaev
Дата:
Сообщение: Re: [PATCH] Full support for index LP_DEAD hint bits on standby