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

From Julien Rouhaud
Subject Re: Add pg_file_sync() to adminpack
Date
Msg-id CAOBaU_Y=LLeQERH+7b4caFuPPr9yqJ14FOYUra=xMoW9WK71pA@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_file_sync() to adminpack  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Add pg_file_sync() to adminpack
List pgsql-hackers
On Fri, Jan 10, 2020 at 10:50 AM Fujii Masao <masao.fujii@gmail.com> wrote:
>
> On Thu, Jan 9, 2020 at 10:39 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
> >
> > I think that pg_write_server_files should be allowed to call that
> > function by default.
>
> But pg_write_server_files users are not allowed to execute
> other functions like pg_file_write() by default. So doing that
> change only for pg_file_sync() looks strange to me.

Ah indeed.  I'm wondering if that's an oversight of the original
default role patch or voluntary.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Add pg_file_sync() to adminpack
Next
From: Mahendra Singh Thalor
Date:
Subject: Re: [HACKERS] Block level parallel vacuum