From: | Brad White <b55white(at)gmail(dot)com> |
---|---|
To: | pgsql-generallists(dot)postgresql(dot)org <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: setting up streaming replication, part 2 |
Date: | 2023-10-25 15:57:51 |
Message-ID: | CH0PR10MB74982DA8DF6C07CE8DBDA4ABF7DEA@CH0PR10MB7498.namprd10.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
From: Ron <ronljohnsonjr(at)gmail(dot)com>
Sent: Wednesday, October 25, 2023 4:35:59 AM
To: pgsql-generallists.postgresql.org <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: setting up streaming replication, part 2
On 10/24/23 23:47, Brad White wrote:
On Tue, Oct 24, 2023, 9:02 PM Ron <ronljohnsonjr(at)gmail(dot)com<mailto:ronljohnsonjr(at)gmail(dot)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.
Looks like they have double single quotes around the password.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2023-10-25 23:33:00 | Re: REINDEX in tables |
Previous Message | Momchil Milev | 2023-10-25 15:57:49 | Re: Question about the new PostgreSQL 16 availability on Ubuntu |