Re: problem with an account name 'replication' for streaming replication

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: problem with an account name 'replication' for streaming replication
Дата
Msg-id AANLkTimHp_LegDdLN=JYivnCUV+d44tVpQ4mjnf3hu2K@mail.gmail.com
обсуждение исходный текст
Ответ на problem with an account name 'replication' for streaming replication  (Uwe Bartels <uwe.bartels@gmail.com>)
Ответы Re: problem with an account name 'replication' for streaming replication  (Uwe Bartels <uwe.bartels@gmail.com>)
Список pgsql-admin
On Thu, Mar 31, 2011 at 3:37 AM, Uwe Bartels <uwe.bartels@gmail.com> wrote:
> when I used the postgres login 'replication' as the account for streaming
> replication I get the following error message:
> 2011-03-28 18:06:47 CEST FATAL:  could not connect to the primary server:
> FATAL:  no pg_hba.conf entry for replication connection from host
> "172.16.56.122", user "replication", SSL off
>
> The corresponding pg_hba.conf entry was correct and there was no other
> matching entry before that line.
> # TYPE  DATABASE        USER            CIDR-ADDRESS            METHOD
> host    replication     replication              172.16.56.122/32        md5
>
> By changing the account name - everything worked as smoth as I am used to
> with postgres.

This is a constraint of streaming replication, and listed as a TODO item.
http://wiki.postgresql.org/wiki/TODO#Configuration_files

    Have pg_hba.conf consider "replication" special only in the database field
        * http://archives.postgresql.org/pgsql-hackers/2010-10/msg00632.php

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

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

Предыдущее
От: raghu ram
Дата:
Сообщение: Re: problem with an account name 'replication' for streaming replication
Следующее
От: Uwe Bartels
Дата:
Сообщение: Re: problem with an account name 'replication' for streaming replication