From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Enabling replication connections by default in pg_hba.conf |
Date: | 2017-03-06 20:03:32 |
Message-ID: | 3ae82e40-4d62-f6e3-6b49-4e527c21199a@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
0001-Enable-replication-connections-by-default-in-pg_hba..patch | text/x-patch | 5.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Karlsson | 2017-03-06 20:12:20 | Re: rename pg_log directory? |
Previous Message | Lukas Fittl | 2017-03-06 20:01:52 | Re: [PATCH] Use $ parameters as replacement characters for pg_stat_statements |