On 2019-03-26 03:26, Michael Paquier wrote: > Do we really want to extend the replication protocol to control that?
Perhaps we are losing sight of the original problem, which is that if you create the target directory with the wrong permissions then ... it has the wrong permissions. And you are free to change the permissions at any time. Many of the proposed solutions sound excessively complicated relative to that. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services