]> granicus.if.org Git - postgresql/commit
Enable replication connections by default in pg_hba.conf
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 9 Mar 2017 13:27:16 +0000 (08:27 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 9 Mar 2017 13:39:44 +0000 (08:39 -0500)
commitbe37c2120a2a88e5ba852d42952c77b6bf5d5271
treec6862bda00c4392427b3a9c96836cac7fb21a3e3
parent355d3993c53ed62c5b53d020648e4fbcfbf5f155
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 <michael.paquier@gmail.com> and me
doc/src/sgml/ref/initdb.sgml
src/backend/libpq/pg_hba.conf.sample
src/bin/initdb/initdb.c
src/bin/pg_basebackup/t/010_pg_basebackup.pl
src/test/perl/PostgresNode.pm