Re: [HACKERS] Enabling replication connections by default inpg_hba.conf - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Enabling replication connections by default inpg_hba.conf
Date
Msg-id 3ae82e40-4d62-f6e3-6b49-4e527c21199a@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Enabling replication connections by default in pg_hba.conf  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] Enabling replication connections by default in pg_hba.conf  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 3/3/17 20:30, Michael Paquier wrote:
> Yeah, it looks sensible to me to keep "replication" for physical
> replication, and switch logical replication checks to match a database
> name in hba comparisons.

I think we are OK to move ahead with this.

Another question would be why only enable connections for
@default_username@ by default, instead of all.

Also, with this change, some test code that sets up pg_hba.conf for
replication can be removed.  See attached patch.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Attachment

pgsql-hackers by date:

Previous
From: Lukas Fittl
Date:
Subject: Re: [HACKERS] [PATCH] Use $ parameters as replacement characters for pg_stat_statements
Next
From: Andreas Karlsson
Date:
Subject: Re: [HACKERS] rename pg_log directory?