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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Adjust server-side backup to depend on pg_write_server_files.
Date: 2022-01-28 17:33:06
Message-ID: E1nDV7S-0003Tr-1d@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-01-28 19:06:48 pgsql: Move the code to archive files via the shell to a separate file.
Previous Message Robert Haas 2022-01-28 16:51:26 pgsql: pg_basebackup: Cleaner handling when compression is multiply spe