From: Laurenz Albe <laurenz.albe@cybertec.at>
To: soumik.bhattacharjee@kpn.com
To: pgsql-admin@lists.postgresql.org
To: pgsql-admin@postgresql.org
Subject: Re: pg_rewind
Date: Thu, 23 Jan 2020 16:56:27 +0100
Message-ID: <2079fc510f11cc43ed95a34afbec01d51a745d67.camel@cybertec.at> (raw)
In-Reply-To: <2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL>
References: <2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, soumik.bhattacharjee@kpn.com
Subject: Re: pg_rewind
In-Reply-To: <2079fc510f11cc43ed95a34afbec01d51a745d67.camel@cybertec.at>
References: <2A91BEF8171A5349931391E0C721CC537D787037@CPEMS-KPN501.KPNCNL.LOCAL> <2079fc510f11cc43ed95a34afbec01d51a745d67.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox