On Fri, Mar 16, 2018 at 11:12:44AM -0400, Stephen Frost wrote: > Given that we're already, as I recall, including the owner/group of the > file being backed up through pg_basebackup in the tarball, it seems like > we should be including whatever the current dir/file mode is too. Those > files may not have anything to do with PostgreSQL, after all, and a > 'natural' tar of the directory would capture that information too.
Yes. tar does include this information in the header associated to each file. Do we want an additional switch for pg_receivexlog as well by the way which generates WAL segments with group access? Some people take base backups without slots and rely on an archive to look for remaining segments up to the end-of-backup record. -- Michael
signature.asc
Description: PGP signature