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 1sme1F-007M3P-0P for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Sep 2024 18:49:17 +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 1sme1D-001tNA-BJ for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Sep 2024 18:49:15 +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 1sme1D-001tN2-2Z for pgsql-bugs@lists.postgresql.org; Fri, 06 Sep 2024 18:49:15 +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 1sme17-000UW6-H3 for pgsql-bugs@lists.postgresql.org; Fri, 06 Sep 2024 18:49:14 +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 486In7FG2358982; Fri, 6 Sep 2024 14:49:08 -0400 From: Tom Lane To: basha@maxcontact.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18604: Regression in PostgreSQL 16.4: pg_dump Prevents Essential System Table Modifications In-reply-to: <18604-04d64b68e981ced6@postgresql.org> References: <18604-04d64b68e981ced6@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 06 Sep 2024 16:28:25 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2358980.1725648547.1@sss.pgh.pa.us> Date: Fri, 06 Sep 2024 14:49:07 -0400 Message-ID: <2358981.1725648547@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Steps to Reproduce: > Enable allow_system_table_mods = true. > Modify system tables (e.g., pg_database) to restrict visibility in a > multi-tenant setup. > Attempt to run pg_dump for backup purposes. > pg_dump fails due to the recent security restriction. Without any details about what you did to the system catalogs, this complaint is quite un-actionable. I will note that we do not consider random manual changes to system catalogs to be a supported feature. regards, tom lane