Re: [HACKERS] Enabling replication connections by default in pg_hba.conf
От | Michael Paquier |
---|---|
Тема | Re: [HACKERS] Enabling replication connections by default in pg_hba.conf |
Дата | |
Msg-id | CAB7nPqQ-xRtq7xoOCEhJ2rodgugf3RZijiUp8_xcdwd6By2o=g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] Enabling replication connections by default inpg_hba.conf (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: [HACKERS] Enabling replication connections by default inpg_hba.conf
|
Список | pgsql-hackers |
On Wed, Mar 8, 2017 at 11:29 AM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote: > On 3/6/17 21:11, Michael Paquier wrote: >> I think that the documentation of initdb should mention that >> pg_hba.conf entries are configured for replication connections as >> well, something like a sentence in the Description paragraph: >> initdb sets pg_hba.conf entries using the specified authentication >> method (trust by default) for non-replication as well as replication >> connections. > > OK, I was looking for a way to document this. Your ideas seems the most > sensible. > > See attached patch that puts it all together. Thanks for the new version. + This option specifies the default authentication method for local + users used in <filename>pg_hba.conf</> (<literal>host</literal> + and <literal>local</literal> lines). <command>initdb</command> will + prepopulate <filename>pg_hba.conf</filename> entries using the + specified authentication method for non-replication as well as + replication connections. Fine for me with a paragraph here. This patch looks good to me. -- Michael
В списке pgsql-hackers по дате отправления: