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 4ba66566b84df983c881b996eb8831f1@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
Hi!

Michael,
I have fixed the patches according to your comments.

> merge both local variables into a single bits32 store?
This is done in v3-0001-Standby-mode-requested.patch

> Then this could be used with a function that returns a
> text[] array with all the states retrieved?
Placed this in the v3-0002-Text-array-sql-wrapper.patch

> The refactoring pieces and the function pieces should be split, for
> clarity.
Sure. I also added the third patch with some tests. Perhaps it would be 
usefull.

Respectfully,

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

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: RFC: adding pytest as a supported test framework
Next
From: Melanie Plageman
Date:
Subject: Re: RFC: adding pytest as a supported test framework