From: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add default role 'pg_access_server_files' |
Date: | 2018-01-12 01:58:12 |
Message-ID: | CAEepm=1XEtC4f1WZy66vytKX-tt1r5rvjLcpXdEDA305vdw5hQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 1, 2018 at 8:19 AM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> Greetings,
>
> This patch adds a new default role called 'pg_access_server_files' which
> allows an administrator to GRANT to a non-superuser role the ability to
> access server-side files through PostgreSQL (as the user the database is
> running as). By itself, having this role allows a non-superuser to use
> server-side COPY and to use file_fdw (if installed by a superuser and
> GRANT'd USAGE on it).
Hi Stephen,
Not sure if you are aware of this failure?
test file_fdw ... FAILED
Because:
! ERROR: only superuser can change options of a file_fdw foreign table
...
! ERROR: only superuser or a member of the pg_access_server_files role
can change options of a file_fdw foreign table
--
Thomas Munro
http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2018-01-12 01:58:18 | Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation) |
Previous Message | Stephen Frost | 2018-01-12 01:57:17 | Re: [HACKERS] Support to COMMENT ON DATABASE CURRENT_DATABASE |