From: Martin Goodson <kaemaril@googlemail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: FW: Setting up streaming replication problems
Date: Sun, 28 Jan 2018 23:11:58 +0000
Message-ID: <59dae91e-8ded-9da0-b157-e28949051970@googlemail.com> (raw)
In-Reply-To: <904d9e3e-4cf3-f8b2-a562-8480fb1d4791@gelassene-pferde.biz>
References: <6b6085fb-b0be-798e-6be4-8ec4f9e099bf@gelassene-pferde.biz>
<76882e62-c9c2-0081-9e5a-816ec18af359@a-kretschmer.de>
<18774e2eb362444b8e65966423e8707a@usb.ch>
<20180123083607.20137iwa16pu6y8s@www.gelassene-pferde.biz>
<20180126104705.173924vsxb67vhgk@www.gelassene-pferde.biz>
<904d9e3e-4cf3-f8b2-a562-8480fb1d4791@gelassene-pferde.biz>
On 28/01/2018 22:24, Thiemo Kellner wrote:
> Me again. Hope you wont feel to bothered by me. I just summarise so
> far and am still in dire need of guidance.
> I am not sure whether to put the md5 value of the repuser password
> into primary_conninfo or the plain one. I don't feel the
> documentation or the book is clear on that. I thought to have tried
> both ways to no avail.
The documentation seems pretty clear on the subject, if you look at the
standby server settings documentation and look at primary_conninfo it says:
"A password needs to be provided too, if the primary demands password
authentication. It can be provided in the primary_conninfo string, or in
a separate ~/.pgpass file on the standby server (use replication as the
database name)"
That's not an md5 version of the password, that's the actual clear text
password. That's why putting the password into the password file instead
of the recovery file (or specifying trust if you actually do) might not
be such a bad idea, really.
But are you sure the password is the issue? What messages are you seeing
in your logs on both the master and the standby? Could you post the logs
here, or at least a representative sample? What are you seeing in the
standby logs when you start it? What are you seeing in the master's logs
at the same time?
M.
--
Martin Goodson
"Have you thought up some clever plan, Doctor?"
"Yes, Jamie, I believe I have."
"What're you going to do?"
"Bung a rock at it."
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-general@postgresql.org
Cc: kaemaril@googlemail.com
Subject: Re: FW: Setting up streaming replication problems
In-Reply-To: <59dae91e-8ded-9da0-b157-e28949051970@googlemail.com>
References: <6b6085fb-b0be-798e-6be4-8ec4f9e099bf@gelassene-pferde.biz> <76882e62-c9c2-0081-9e5a-816ec18af359@a-kretschmer.de> <18774e2eb362444b8e65966423e8707a@usb.ch> <20180123083607.20137iwa16pu6y8s@www.gelassene-pferde.biz> <20180126104705.173924vsxb67vhgk@www.gelassene-pferde.biz> <904d9e3e-4cf3-f8b2-a562-8480fb1d4791@gelassene-pferde.biz> <59dae91e-8ded-9da0-b157-e28949051970@googlemail.com>
* 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