Re: Add pg_file_sync() to adminpack

Поиск
Список
Период
Сортировка
От Atsushi Torikoshi
Тема Re: Add pg_file_sync() to adminpack
Дата
Msg-id CACZ0uYE7140410Y7i362YcOym20-bEMs71LgARAip-RNpPXduQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add pg_file_sync() to adminpack  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers

On Wed, Jan 15, 2020 at 1:49 Julien Rouhaud <rjuju123@gmail.com>:
Actually, pg_write_server_files has enough privileges to execute those
functions anywhere on the FS as far as C code is concerned, provided
that the user running postgres daemon is allowed to (see
convert_and_check_filename), but won't be allowed to do so by default
as it won't have EXECUTE privilege on the functions.

I see, thanks for your explanation.

--
Regards,
Atsushi Torikoshi

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: "曾文旌(义从)"
Дата:
Сообщение: Re: [Proposal] Global temporary tables