pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Enable replication connections by default in pg_hba.conf
Date: Thu, 09 Mar 2017 13:42:46 +0000
Message-ID: <E1clyL8-0002d2-NW@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1clyL8-0002d2-NW@gemulon.postgresql.org>
Permalink:  ../E1clyL8-0002d2-NW@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1clyL8-0002d2-NW@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Enable replication connections by default in pg_hba.conf
  In-Reply-To: <E1clyL8-0002d2-NW@gemulon.postgresql.org>
  References: <E1clyL8-0002d2-NW@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox