On 2020-Mar-27, Stephen Frost wrote:
> I don't think we should just compare all permissions or ownership with
> some arbitrary idea of what we think they should be, even though if you
> use pg_basebackup in 'plain' format, you actually end up with
> differences, today, from what the source system has. In my view, that
> should actually be fixed, to the extent possible.
I posted some thoughts about this at
https://www.postgresql.org/message-id/20190904201117.GA12986%40alvherre.pgsql
I didn't get time to work on that myself.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services