Re: Add pg_file_sync() to adminpack
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Arthur Zakirov <zaartur@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-01-10T11:22:53Z
Lists: 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.
Commits
-
Add pg_file_sync() to adminpack extension.
- d694e0bb793e 13.0 landed