Adjust server-side backup to depend on pg_write_server_files.
Robert Haas <rhaas@postgresql.org>
Adjust server-side backup to depend on pg_write_server_files. I had made it depend on superuser, but that seems clearly inferior. Also document the permissions requirement in the straming replication protocol section of the documentation, rather than only in the section having to do with pg_basebackup. Idea and patch from Dagfinn Ilmari Mannsåker. Discussion: http://postgr.es/m/87bkzw160u.fsf@wibble.ilmari.org
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +5 −0 |
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +2 −1 |
| src/backend/replication/basebackup_server.c | modified | +4 −2 |
Documentation touched
Discussion
- Server-side base backup: why superuser, not pg_write_server_files? 21 messages · 2022-01-28 → 2022-02-03