RE: pg_rewind - Mailing list pgsql-admin

From
Subject RE: pg_rewind
Date
Msg-id 2A91BEF8171A5349931391E0C721CC537D78706B@CPEMS-KPN501.KPNCNL.LOCAL
Whole thread Raw
In response to Re: pg_rewind  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-admin
Thanks for your suggestion, I need now to make "wal_log_hints = on"

-----Original Message-----
From: Laurenz Albe <laurenz.albe@cybertec.at> 
Sent: donderdag 23 januari 2020 16:56
To: Bhattacharjee, Soumik <soumik.bhattacharjee@kpn.com>; pgsql-admin@lists.postgresql.org; pgsql-admin@postgresql.org
Subject: Re: pg_rewind

On Thu, 2020-01-23 at 15:39 +0000, soumik.bhattacharjee@kpn.com wrote:
> I am trying to make my previous Master as Master by roll backing the changes happen into Standby
> 
> In Original MASTER I am running below –
> 
> /usr/lib/postgresql/12/bin$ ./pg_rewind -D $PGDATA --source-server='host=<IP Address> port=5432' -P
> pg_rewind: fatal: could not connect to server: fe_sendauth: no password supplied
> 
> I'm not sure why this keeps happening.

Because you used the wrong user or didn't specify a password?

Try

   --source-server='host=<IP Address> port=5432 user=... password=...'



Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com


pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: pg_rewind
Next
From: varinder gupta
Date:
Subject: Need assistance in Oracle11g to Postgres migration