Sorry for the confusion, I must have done some crazy stuff about the user
of pg_basebackup.
Please just consider the question:
* is there a way to tell pg_rewind to use the passfile?
Thanks!
On Wed, Jan 25, 2023 at 10:37 AM Wiwwo Staff wrote:
> Hi!
> I have noticed, if I use
> pg_basebackup -D
Hi!
I have noticed, if I use
pg_basebackup -D $PGDATA -h $NEW_PRIMARY -U $SOME_ADMIN_USER
(where $SOME_ADMIN_USER is a privileged user, not the replica user)
i got a "show primary_conninfo" as ;
user= passfile='/var/lib/postgresql/.pgpass'
channel_binding=prefer host=pg_red port=5432 sslmode=p