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 1siwGd-00BNpg-5Q for pgsql-committers@arkaria.postgresql.org; Tue, 27 Aug 2024 13:29:51 +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 1siwGa-007Wk0-C9 for pgsql-committers@arkaria.postgresql.org; Tue, 27 Aug 2024 13:29:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1siwGa-007Wjs-5N for pgsql-committers@lists.postgresql.org; Tue, 27 Aug 2024 13:29:48 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1siwGX-001lKM-Ah for pgsql-committers@lists.postgresql.org; Tue, 27 Aug 2024 13:29:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 47RDThLB3039987; Tue, 27 Aug 2024 09:29:43 -0400 From: Tom Lane To: Peter Eisentraut cc: Masahiko Sawada , 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> References: <6a96f1af-22b4-4a80-8161-1f26606b9ee2@eisentraut.org> <8dbff88c-d1cc-4c4d-a016-1c538c7cf9bd@eisentraut.org> Comments: In-reply-to Peter Eisentraut message dated "Tue, 27 Aug 2024 14:41:39 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3039985.1724765383.1@sss.pgh.pa.us> Date: Tue, 27 Aug 2024 09:29:43 -0400 Message-ID: <3039986.1724765383@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > 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? I'd vote against that. I think other catalog-scanning tools might like to use this too. regards, tom lane