pg_rewind - Mailing list pgsql-admin

From
Subject pg_rewind
Date
Msg-id 2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL
Whole thread Raw
Responses Re: pg_rewind  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-admin

Hi Experts,

 

Initial setup was done using streaming replication and then promoted the STANDBY to MASTER.

 

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.

 

 

Thanks..

 

pgsql-admin by date:

Previous
From: Geoff Winkless
Date:
Subject: Re: SQL Query Syntax help
Next
From: Laurenz Albe
Date:
Subject: Re: pg_rewind