pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Adjust server-side backup to depend on pg_write_server_files.
Date: Fri, 28 Jan 2022 17:33:06 +0000
Message-ID: <E1nDV7S-0003Tr-1d@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1nDV7S-0003Tr-1d@gemulon.postgresql.org>
Permalink:  ../E1nDV7S-0003Tr-1d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nDV7S-0003Tr-1d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Adjust server-side backup to depend on pg_write_server_files.
  In-Reply-To: <E1nDV7S-0003Tr-1d@gemulon.postgresql.org>
  References: <E1nDV7S-0003Tr-1d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox