Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1purXa-00066H-8p for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 09:15:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1purXY-00020d-DB for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 09:15:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1purXX-00020U-Bp for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 09:15:48 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1purXS-000eAk-VU for pgsql-hackers@postgresql.org; Fri, 05 May 2023 09:15:44 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9C66F5C016C; Fri, 5 May 2023 05:15:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 05 May 2023 05:15:40 -0400 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 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1683278140; x= 1683364540; bh=NuUoLQEnJbicFasRVqU/ras7RdxpLUwxRkjGjr79MAU=; b=J EXq/JNRaRwXzEOIUYKbs1/TNUaZ9tbXQLc5AYmzcqVbN0HO4vpy/TJ85oxU70ib1 d1I1jYBBVX61nlrEi+JlNKSHSvnVqROo2OJVy/5OvWcLoiPu7WfuY3e6q2ap8xI/ /UKZNK+8ruJhCeW2e2W9wbj2TSJ87xSLtslKco9zcgvVVGV3lu6wHK+tLTKrtjL2 K7ECPooFxt0gL7oY2G+HMGq8qk6JcX3zQFoBKB4l/ezixJ7y9aGFm2elwonAd7tD uQs8TIb7Yz+hCnqqup6dEwA7Zq11Eqkb57Cths83bOpgO+JlwYcpVvgKs/jHjhfY LRqcFZ+u1Kky2o/pZj0rw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefvddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvddufedtgfevvdfgffeghfevuddvgefhudegudffhfeg udduteettdfhvdegffehnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh dpthifihhtthgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 5 May 2023 05:15:39 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id B8418A0; Fri, 5 May 2023 11:15:36 +0200 (CEST) Date: Fri, 5 May 2023 11:15:36 +0200 From: Alvaro Herrera To: Tom Lane Cc: Amit Langote , Sergey Shinderuk , o.tselebrovskiy@postgrespro.ru, pgsql-hackers@postgresql.org Subject: Re: A bug with ExecCheckPermissions Message-ID: <20230505091536.rmfryd4yaefjdwyr@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3468125.1683238309@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2023-May-04, Tom Lane wrote: > It looks like this patch caused a change in the order of output from > the sepgsql tests [1]. If you expected it to re-order permissions > checking then this is probably fine, and we should just update the > expected output. Yeah, looks correct. Fix pushed. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Every machine is a smoke machine if you operate it wrong enough." https://twitter.com/libseybieda/status/1541673325781196801