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 1sBLMn-00FyeX-En for pgsql-hackers@arkaria.postgresql.org; Sun, 26 May 2024 21:25:22 +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 1sBLMn-004mbM-5f for pgsql-hackers@arkaria.postgresql.org; Sun, 26 May 2024 21:25:21 +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 1sBLMm-004mbD-S9 for pgsql-hackers@lists.postgresql.org; Sun, 26 May 2024 21:25:20 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBLMk-0027nn-C7 for pgsql-hackers@lists.postgresql.org; Sun, 26 May 2024 21:25:19 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 44QLPDGn1077943; Sun, 26 May 2024 17:25:13 -0400 From: Tom Lane To: Hannu Krosing cc: Robert Haas , Daniel Gustafsson , "David G. Johnston" , PostgreSQL Hackers , Stephen Frost , Andres Freund , Noah Misch Subject: Re: DROP OWNED BY fails to clean out pg_init_privs grants In-reply-to: References: <1745535.1712358659@sss.pgh.pa.us> <78CCD91B-99DC-4B0F-B65E-AD46E67CBC0B@yesql.se> <2857513.1713733688@sss.pgh.pa.us> <32556.1714165429@sss.pgh.pa.us> <378162.1714257933@sss.pgh.pa.us> <772627.1714330360@sss.pgh.pa.us> <33E80863-5516-45A1-93D1-00F1A166EC7C@yesql.se> <1372432.1714418108@sss.pgh.pa.us> <1562011.1714450202@sss.pgh.pa.us> <537173.1716505303@sss.pgh.pa.us> <651419.1716560400@sss.pgh.pa.us> <40B07EAD-E25E-45EF-8728-5F371A425F3C@yesql.se> <663760.1716566350@sss.pgh.pa.us> <685269.1716577052@sss.pgh.pa.us> <847249.1716648477@sss.pgh.pa.us> Comments: In-reply-to Hannu Krosing message dated "Sun, 26 May 2024 23:19:57 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3657.1716758713.1@sss.pgh.pa.us> Date: Sun, 26 May 2024 17:25:13 -0400 Message-ID: <3658.1716758713@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hannu Krosing writes: > Attached is a minimal patch to allow missing roles in REVOKE command FTR, I think this is a very bad idea. It might be OK if we added some kind of IF EXISTS option, but I'm not eager about that concept either. The right thing here is to fix the backend so that pg_dump doesn't see these bogus ACLs. regards, tom lane