Re: pgsql: Restrict accesses to non-system views and foreign tables during - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Restrict accesses to non-system views and foreign tables during
Date
Msg-id 8dbff88c-d1cc-4c4d-a016-1c538c7cf9bd@eisentraut.org
Whole thread Raw
In response to Re: pgsql: Restrict accesses to non-system views and foreign tables during  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: pgsql: Restrict accesses to non-system views and foreign tables during
List pgsql-committers
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?




pgsql-committers by date:

Previous
From: Masahiko Sawada
Date:
Subject: pgsql: Fix identation.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Restrict accesses to non-system views and foreign tables during