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 1rolBZ-003DR1-RU for pgsql-general@arkaria.postgresql.org; Mon, 25 Mar 2024 14:20:26 +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 1rolBY-003zkr-1Z for pgsql-general@arkaria.postgresql.org; Mon, 25 Mar 2024 14:20:24 +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 1rolBX-003zki-NF for pgsql-general@lists.postgresql.org; Mon, 25 Mar 2024 14:20:24 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rolBU-006LRU-3n for pgsql-general@lists.postgresql.org; Mon, 25 Mar 2024 14:20:22 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 242423004A5E for ; Mon, 25 Mar 2024 15:20:19 +0100 (CET) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 141512E2CC72; Mon, 25 Mar 2024 15:20:19 +0100 (CET) Received: from s473.loopia.se (unknown [172.22.191.6]) by s981.loopia.se (Postfix) with ESMTP id 120B022B1804; Mon, 25 Mar 2024 15:20:19 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.21 X-Spam-Level: X-Spam-Status: No, score=-1.21 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled Authentication-Results: s473.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s980.loopia.se ([172.22.191.6]) by s473.loopia.se (s473.loopia.se [172.22.190.13]) (amavisd-new, port 10024) with UTF8LMTP id q51a-ecmMAR6; Mon, 25 Mar 2024 15:20:18 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id 5D17E220162C; Mon, 25 Mar 2024 15:20:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1711376418; bh=dnfDY/B28l7SijgLLi/s8qB1qE+9vZBwtrOw+vGOR9s=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=JPuHQFoLNrItiDr7yIpe2Vq72GPlQHmuIKfA6zgYxl9PDP+lhLWIXUAXSFii+J4wE 5+959yvQUB75LisG6qtOh7cOdb8Ubi2gmBAE9vt8YIDm32ph+v+88Z6FiFRnnm97TX MqYEgr8nAjxfikJDW5S6ekWRJjiN7ccctwdhk+JKOmiQKDFcezUoUXKyOmK19V/r+1 EzfrEsx9TVXMMs7fJqUbizWo+K8rl7p0oyTgEjnlsD8+t6doIYt1WJL87IAoS3UHNC rU6w7pCP13bJcMWR3PPmMA8xCIg4hTggk6XKZE0b9yZiX4o/6QnJOVCGNzpNOWxLDa KTnfnWn7uDF9A== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: No warning for a no-op REVOKE From: Daniel Gustafsson In-Reply-To: <2475445.1711375782@sss.pgh.pa.us> Date: Mon, 25 Mar 2024 15:20:17 +0100 Cc: Christophe Pettus , "pgsql-generallists.postgresql.org" Content-Transfer-Encoding: 7bit Message-Id: References: <2475445.1711375782@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3696.120.41.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 25 Mar 2024, at 15:09, Tom Lane wrote: > My initial reaction is that we should warn only when the command > is a complete no-op, that is none of the mentioned privileges > matched. That's my gut reaction too, -- Daniel Gustafsson