Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sivW9-00BB8u-8k for pgsql-committers@arkaria.postgresql.org; Tue, 27 Aug 2024 12:41:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sivW7-0073ou-A4 for pgsql-committers@arkaria.postgresql.org; Tue, 27 Aug 2024 12:41:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sivW5-0073om-SJ for pgsql-committers@lists.postgresql.org; Tue, 27 Aug 2024 12:41:47 +0000 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sivW3-001gWc-J7 for pgsql-committers@lists.postgresql.org; Tue, 27 Aug 2024 12:41:45 +0000 Received: from phl-compute-04.internal (phl-compute-04.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2994B1148214; Tue, 27 Aug 2024 08:41:42 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 27 Aug 2024 08:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1724762502; x=1724848902; bh=aw6UzevGbBuE8pIqBDSzi3D6dcEbU61S UB9gebg6U7Y=; b=UUgdETR1Y9Mqt4q2qOS3MTcXnvxwKne+5tT6HsCOo7RtMdzB BrolNh9xrEQ+5CPKWWI2UZrCqT08EbfT7fmv7miMPbmOSlt//cLewhyz3g9+yt49 nv/xt/IBF5mNXgeM1kf/p5WvhuoDoxSfrtIw4y1DWbYJnSgkyplNsDWNqlgQGNug tz7kCpM3VbjZ+VFSMA+hqh23aBE4bXMNuPGsrSFN8NPQgB02DwvdIymI2GSm/ZBF hIu3DMaEONt6D+OU6jQqa04tLNu7+jUhJw9EGU1RBsT3bHtjPrsvbm2WcKiC4jn1 z6AVKlnqvBY6O+eB1RIAIOq1MUXFefMyinPMdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724762502; x= 1724848902; bh=aw6UzevGbBuE8pIqBDSzi3D6dcEbU61SUB9gebg6U7Y=; b=B cNCMCtLkDvSkPca8q4Ka3TlqTGn/pWOOEb790trutTcnPmIJtHuLHfZdPyFDDj0k /zB1Si579xMBKehNWuuqhrXyzs0YBycl/1OJkMyu6WpylymOfCh4WnSBd3vNiQ2J D2Tb6JndOZ8zXSChms6l7cC0HmT903AGdXT91HISwfpvcyfp3AnTN3UTh9TiI5F6 ujYLrvnEtvBVM68UGI5Tqqr2cAIqk64yXVa5o2qU/rc3h3VHT0gDdp+xeLso+572 ESbo1r0qBIXDgQvdoTakUW6uUHRFxVKGHcTl8eUvuFePBrytj7mKJeIsTnS15loP SC5EWalE+ClyaeXN3A8og== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeftddgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvg hnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileeh teeljeeghfeuledthfeutedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdho rhhgpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope hsrgifrggurgdrmhhshhhksehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdq tghomhhmihhtthgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 27 Aug 2024 08:41:41 -0400 (EDT) Message-ID: <8dbff88c-d1cc-4c4d-a016-1c538c7cf9bd@eisentraut.org> Date: Tue, 27 Aug 2024 14:41:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Restrict accesses to non-system views and foreign tables during To: Masahiko Sawada Cc: pgsql-committers@lists.postgresql.org References: <6a96f1af-22b4-4a80-8161-1f26606b9ee2@eisentraut.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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?