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
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/be37c2120a2a88e5ba852d42952c77b6bf5d5271
Modified Files
--------------
doc/src/sgml/ref/initdb.sgml | 16 +++++++++++-----
src/backend/libpq/pg_hba.conf.sample | 6 +++---
src/bin/initdb/initdb.c | 5 -----
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 7 ++-----
src/test/perl/PostgresNode.pm | 19 ++-----------------
5 files changed, 18 insertions(+), 35 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.