From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Enable replication connections by default in pg_hba.conf |
Date: | 2017-03-09 13:42:46 |
Message-ID: | E1clyL8-0002d2-NW@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)paquier(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-03-09 15:58:55 | pgsql: Use SQL standard error code for nextval |
Previous Message | Robert Haas | 2017-03-09 12:49:42 | pgsql: Add a Gather Merge executor node. |