Re: Add pg_file_sync() to adminpack

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Add pg_file_sync() to adminpack
Дата
Msg-id CAOBaU_bscJbeHMuMgu3z2HdT1f49z6cmXtbaBiLH+QyEwi-i+g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add pg_file_sync() to adminpack  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Le mar. 14 janv. 2020 à 22:57, Stephen Frost <sfrost@snowman.net> a écrit :
Greetings,

* Julien Rouhaud (rjuju123@gmail.com) wrote:
> 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.

It was intentional.

ok, thanks for the clarification. 

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Use compiler intrinsics for bit ops in hash
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: planner support functions: handle GROUP BY estimates ?