Re: Catalog version access

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Catalog version access
Дата
Msg-id YfeWWfUB8Z5cB3Pi@paquier.xyz
обсуждение исходный текст
Ответ на Re: Catalog version access  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Catalog version access  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Tue, Jan 25, 2022 at 01:12:32PM +0900, Michael Paquier wrote:
> Once you remove the requirement of a running server, we have basically
> what has been recently implemented with postgres -C for
> runtime-computed GUCs, because we already go through a read of the
> control file to be able to print those GUCs with their correct
> values.  This also means that it is already possible to check if a
> data folder is compatible with a set of binaries with this facility,
> as any postgres -C command with a runtime GUC would trigger this
> check.  Using any of the existing runtime GUCs may be confusing, but
> that would work.  And I am not really convinced that we have any need
> to add a specific GUC for this purpose, be it a sort of
> is_controlfile_valid or controlfile_checksum (CRC32 of the control
> file).

Thinking more about this one, we can already do that, so I have
marked the patch as RwF.  Perhaps we could just add a GUC, but that
feels a bit dummy.
--
Michael

Вложения

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Is there a way (except from server logs) to know the kind of on-going/last checkpoint?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: drop tablespace failed when location contains .. on win32