Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica

Поиск
Список
Период
Сортировка
От m.litsarev@postgrespro.ru
Тема Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica
Дата
Msg-id fac0db6695a7fefe33621a18f0484c49@postgrespro.ru
обсуждение исходный текст
Ответ на Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> simple there are already too many of them.  Perhaps we should begin
> tracking all that as a set of bitmasks, then plug in the tracked state
> in shmem for consumption in some SQL function.

Hi!

Michael, Tristan
as a first step I have introduced the `SharedRecoveryDataFlags` bitmask 
instead of three boolean SharedHotStandbyActive, 
SharedPromoteIsTriggered and SharedStandbyModeRequested flags (the last 
one from my previous patch) and made minimal updates in corresponding 
code based on that change.

Respectfully,

Mikhail Litsarev
Postgres Professional: https://postgrespro.com



Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Removing unneeded self joins
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg17 issues with not-null contraints