Re: setting up streaming replication, part 2

Поиск
Список
Период
Сортировка
От Brad White
Тема Re: setting up streaming replication, part 2
Дата
Msg-id CAA_1=92X+fBQOCAgM_3KNie7YVhiPgqwJzsia7rbvOtCYXWWtg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: setting up streaming replication, part 2  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: setting up streaming replication, part 2
Список pgsql-general

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. 

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: setting up streaming replication, part 2
Следующее
От: Giovanni Biscontini
Дата:
Сообщение: Re: PostgreSQL C++ Interface version 14.9 using static library instead of shared library