pgsql: Adjust server-side backup to depend on pg_write_server_files. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Adjust server-side backup to depend on pg_write_server_files.
Date
Msg-id E1nDV7S-0003Tr-1d@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7f6772317b4a4f9d30c25d1853571fca6d834f0c

Modified Files
--------------
doc/src/sgml/protocol.sgml                  | 5 +++++
doc/src/sgml/ref/pg_basebackup.sgml         | 3 ++-
src/backend/replication/basebackup_server.c | 6 ++++--
3 files changed, 11 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pg_basebackup: Cleaner handling when compression is multiply spe
Next
From: Robert Haas
Date:
Subject: pgsql: Move the code to archive files via the shell to a separate file.