From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: setting up streaming replication, part 2
Date: Wed, 25 Oct 2023 04:35:46 -0500
Message-ID: <383c243b-9470-4744-96ad-0e42f6e44a99@gmail.com> (raw)
In-Reply-To: <CAA_1=92X+fBQOCAgM_3KNie7YVhiPgqwJzsia7rbvOtCYXWWtg@mail.gmail.com>
References: <CAA_1=91fazYUh9-zuFssKfuyAO8Vq4x98xpphxMEc0C2hFAtnw@mail.gmail.com>
<b31c7e33-e469-4f9a-b88b-aad54492aa90@gmail.com>
<CAA_1=92X+fBQOCAgM_3KNie7YVhiPgqwJzsia7rbvOtCYXWWtg@mail.gmail.com>
On 10/24/23 23:47, Brad White wrote:
>
> On Tue, Oct 24, 2023, 9:02 PM Ron <ronljohnsonjr@gmail.com> wrote:
>
> On 10/24/23 19:29, Brad White wrote:
> > I have the replication server set up and the streaming is working.
> > The latest data show up, as desired.
> >
> > 3 minor issues.
> >
>
> > 2) I have the connection string set for the replication server to
> connect,
> > primary_conninfo = 'host = 192.168.1.112 port = 5433 user =
> > {pg_rep_user }password = {password}'
> > But the log file shows
> > LOG: waiting for WAL to become available at 2/A10000B8
> > FATAL: could not connect to the primary server: connection to
> server
> > at "{IP}", port 5433 failed: fe_sendauth: no password supplied
>
> But you said that streaming is working.
>
> Yes, I realized after I posted that this would be confusing.
>
> I cheated and changed hba from password to trust until I get this
> resolved. Not a long term solution.
>
> Having replication working was more important in the short term.
Follow the tecmint link in my original email.
https://www.postgresql.org/message-id/7a9570a6-07a9-4b41-b419-b4a0aa67fc53%40gmail.com
It worked perfectly for me.
--
Born in Arizona, moved to Babylonia.
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: ronljohnsonjr@gmail.com
Subject: Re: setting up streaming replication, part 2
In-Reply-To: <383c243b-9470-4744-96ad-0e42f6e44a99@gmail.com>
References: <CAA_1=91fazYUh9-zuFssKfuyAO8Vq4x98xpphxMEc0C2hFAtnw@mail.gmail.com> <b31c7e33-e469-4f9a-b88b-aad54492aa90@gmail.com> <CAA_1=92X+fBQOCAgM_3KNie7YVhiPgqwJzsia7rbvOtCYXWWtg@mail.gmail.com> <383c243b-9470-4744-96ad-0e42f6e44a99@gmail.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