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 1ot6XG-0004Z0-TV for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Nov 2022 12:19:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ot6XF-0003yg-Ov for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Nov 2022 12:19:57 +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 1ot6XF-0003yW-25 for pgsql-hackers@lists.postgresql.org; Thu, 10 Nov 2022 12:19:57 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ot6XC-0001Zx-AP for pgsql-hackers@lists.postgresql.org; Thu, 10 Nov 2022 12:19:55 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 93FBC5C0262; Thu, 10 Nov 2022 07:19:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 10 Nov 2022 07:19:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm1; t=1668082793; x=1668169193; bh=a k5e28vfPf8p29dcwV1ELqR9JeWMCaKtQ5/bKfg7r24=; b=a3PTYUkGoFlBoaNim KXVplgpqhXWxsSF1kJn9omA0c7asfRkMJRNd4TgHoLKD1B/JJkO39MXO108EZOk7 Jx8M0fH9xC73EWMqqpr1B80x21rHu+I9Xq87o1mrNM/8lKhZFhhxOyE8a9XllOEs J/1Tyn+r6h/ME2UEmLbXI8PdWRK6ltwwh3zpk/zyEgx/hvW/z86z0CARSyVePPbV fIDsj/NpIjCXaabEAqZ6gGMfELK5P9xeKHmQaqI+rtsEMks5rGGIptbzl0O4IlIA Jmy9ybSXjBKB4AIK5my3CEBK9jFMfidBFGNmWvILuorR16pX4ESQ0TbJSSWGmIui CJlXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrfeeggdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeuiefgffeukedtgfetueeugfetvdeuhefgheelfeehleej leefffejtddtkedvjeenucffohhmrghinhepphhoshhtghhrrdgvshdpvghnthgvrhhprh hishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Nov 2022 07:19:53 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 532B339B; Thu, 10 Nov 2022 13:19:51 +0100 (CET) Date: Thu, 10 Nov 2022 13:19:51 +0100 From: Alvaro Herrera To: Amit Langote Cc: Tom Lane , David Rowley , Greg Stark , Zhihong Yu , Julien Rouhaud , PostgreSQL Hackers Subject: Re: ExecRTCheckPerms() and many prunable partitions Message-ID: <20221110121951.p6njilv7z3rtjn47@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Oct-06, Amit Langote wrote: > Actually, List of Bitmapsets turned out to be something that doesn't > just-work with our Node infrastructure, which I found out thanks to > -DWRITE_READ_PARSE_PLAN_TREES. So, I had to go ahead and add > first-class support for copy/equal/write/read support for Bitmapsets, > such that writeNode() can write appropriately labeled versions of them > and nodeRead() can read them as Bitmapsets. That's done in 0003. I > didn't actually go ahead and make *all* Bitmapsets in the plan trees > to be Nodes, but maybe 0003 can be expanded to do that. We won't need > to make gen_node_support.pl emit *_BITMAPSET_FIELD() blurbs then; can > just use *_NODE_FIELD(). Hmm, is this related to what Tom posted as part of his 0004 in https://postgr.es/m/2901865.1667685211@sss.pgh.pa.us -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/