Enable replication connections by default in pg_hba.conf
Peter Eisentraut <peter_e@gmx.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/initdb.sgml | modified | +11 −5 |
| src/backend/libpq/pg_hba.conf.sample | modified | +3 −3 |
| src/bin/initdb/initdb.c | modified | +0 −5 |
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +2 −5 |
| src/test/perl/PostgresNode.pm | modified | +2 −17 |