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