Re: Server-side base backup: why superuser, not pg_write_server_files?

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: Server-side base backup: why superuser, not pg_write_server_files?
Дата
Msg-id 878ruz282z.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Server-side base backup: why superuser, not pg_write_server_files?  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Ответы Re: Server-side base backup: why superuser, not pg_write_server_files?  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:

> On Fri, Jan 28, 2022 at 5:58 AM Dagfinn Ilmari Mannsåker
> <ilmari@ilmari.org> wrote:
>> 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?
>
> That's a good idea. I didn't think of that. Would you like to propose a patch?

Sure, I'll try and whip something up over the weekend.

- ilmari



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Support for NSS as a libpq TLS backend
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included