Re: Add pg_file_sync() to adminpack - Mailing list pgsql-hackers

From Atsushi Torikoshi
Subject Re: Add pg_file_sync() to adminpack
Date
Msg-id CACZ0uYE7140410Y7i362YcOym20-bEMs71LgARAip-RNpPXduQ@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_file_sync() to adminpack  (Julien Rouhaud <rjuju123@gmail.com>)
List 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 by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Block level parallel vacuum
Next
From: "曾文旌(义从)"
Date:
Subject: Re: [Proposal] Global temporary tables