Re: BUG #12260: trust entry in pg_hba not working as documented

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #12260: trust entry in pg_hba not working as documented
Дата
Msg-id 5491AB34.5090005@vmware.com
обсуждение исходный текст
Ответ на BUG #12260: trust entry in pg_hba not working as documented  (pauld@jobready.com.au)
Список pgsql-bugs
On 12/17/2014 02:53 PM, pauld@jobready.com.au wrote:
> I have the following pg_hba entry on a PostgreSQL server (10.A.B.C)
>
> host repmgr all 10.X.Y.Z/32 trust
>
> (the user repmgr was created using "createuser --login --superuser repmgr"
> via the postgres system account)

You mixed up the "database" and "user" columns in pg_hba.conf. The
syntax is:

# host       DATABASE  USER  ADDRESS  METHOD  [OPTIONS]

So your trust-entry above applies to all users connecting to "repmgr"
database. Try:

host all repmgr 10.X.Y.Z/32 trust

- Heikki

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

Предыдущее
От: fcs1@poczta.onet.pl
Дата:
Сообщение: BUG #12259: Bug in restore Serial definition
Следующее
От: David G Johnston
Дата:
Сообщение: Re: BUG #12257: Cause for: Exception 0xC0000005