Server-side base backup: why superuser, not pg_write_server_files? - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Server-side base backup: why superuser, not pg_write_server_files?
Date
Msg-id 87bkzw160u.fsf@wibble.ilmari.org
Whole thread Raw
Responses Re: Server-side base backup: why superuser, not pg_write_server_files?
List pgsql-hackers
Hi Hackers,

I just noticed that the new server-side base backup feature requires
superuser privileges (which is only documented in the pg_basebackup
manual, not in the streaming replication protocol specification).

Isn't this the kind of thing the pg_write_server_files role was created
for, so that it can be delegated to a non-superuser?

- ilmari



pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: refactoring basebackup.c
Next
From: Japin Li
Date:
Subject: Re: BeginCopyTo - remove switching to old memory context in between COPY TO command processing