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

From m.litsarev@postgrespro.ru
Subject Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica
Date
Msg-id fac0db6695a7fefe33621a18f0484c49@postgrespro.ru
Whole thread Raw
In response to 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>)
Responses Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica
List 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



Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Removing unneeded self joins
Next
From: Alvaro Herrera
Date:
Subject: Re: pg17 issues with not-null contraints