On Tue, Dec 15, 2020 at 02:20:33PM +0900, Michael Paquier wrote:
> > Uh, I got this code from pg_resetwal.c, which does something similar to
> > pg_altercpass.
>
> Yeah, that's actually the part where it is a bad idea to just copy
> this pattern. pg_resetwal should not do that in the long term in my
> opinion, but nobody has come to clean up this stuff. (- -;)
Glad you asked about this. It turns out pg_altercpass works fine with
postgres_fe.h, so I will now use that. pg_resetwal still can't use it
though.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee