From be37c2120a2a88e5ba852d42952c77b6bf5d5271 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 9 Mar 2017 08:27:16 -0500 Subject: Enable replication connections by default in pg_hba.conf initdb now initializes a pg_hba.conf that allows replication connections from the local host, same as it does for regular connections. The connecting user still needs to have the REPLICATION attribute or be a superuser. The intent is to allow pg_basebackup from the local host to succeed without requiring additional configuration. Michael Paquier and me --- doc/src/sgml/ref/initdb.sgml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml index 1aaa4901af7..d9faa96021d 100644 --- a/doc/src/sgml/ref/initdb.sgml +++ b/doc/src/sgml/ref/initdb.sgml @@ -120,11 +120,17 @@ PostgreSQL documentation - This option specifies the authentication method for local users used - in pg_hba.conf (host - and local lines). Do not use trust - unless you trust all local users on your system. trust is - the default for ease of installation. + This option specifies the default authentication method for local + users used in pg_hba.conf (host + and local lines). initdb will + prepopulate pg_hba.conf entries using the + specified authentication method for non-replication as well as + replication connections. + + + + Do not use trust unless you trust all local users on your + system. trust is the default for ease of installation. -- cgit v1.2.3