From: Peter Eisentraut <peter@eisentraut.org>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Restrict accesses to non-system views and foreign tables during
Date: Tue, 27 Aug 2024 14:41:39 +0200
Message-ID: <8dbff88c-d1cc-4c4d-a016-1c538c7cf9bd@eisentraut.org> (raw)
In-Reply-To: <CAD21AoCB1He62bgtUkgu8mkUtAJpHxC98SM6=oDqbRmLmdhE1g@mail.gmail.com>
References: <E1saxQr-002nFK-SJ@gemulon.postgresql.org>
<6a96f1af-22b4-4a80-8161-1f26606b9ee2@eisentraut.org>
<CAD21AoCB1He62bgtUkgu8mkUtAJpHxC98SM6=oDqbRmLmdhE1g@mail.gmail.com>
On 26.08.24 21:05, Masahiko Sawada wrote:
> Maybe using the word "prohibit" makes it a bit clear? For example,
I think that would be much clearer, yes.
> In guc_tables.c:
> Prohibits access to non-system relations of specified kinds
End with period.
> In doc:
> Set relation kinds of non-system relations to which access is
> prohibited.
Still a bit awkward. Maybe "Set relation kinds for which access to
non-system relations is prohibited."
> It takes a comma-separated list of relation kinds.
> Currently, the supported relation kinds are view and foreign-table.
Maybe in the documentation it would also be appropriate to mention that
this is meant to be used by pg_dump, not for general use -- unless it is?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, sawada.mshk@gmail.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Restrict accesses to non-system views and foreign tables during
In-Reply-To: <8dbff88c-d1cc-4c4d-a016-1c538c7cf9bd@eisentraut.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox