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 1kZTLy-0002sl-N4 for pgsql-committers@arkaria.postgresql.org; Mon, 02 Nov 2020 06:30:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZTLx-0004vx-CJ for pgsql-committers@arkaria.postgresql.org; Mon, 02 Nov 2020 06:30:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZTLx-0004uW-6S for pgsql-committers@lists.postgresql.org; Mon, 02 Nov 2020 06:30:05 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZTLq-0008Jl-Au for pgsql-committers@lists.postgresql.org; Mon, 02 Nov 2020 06:30:04 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1FEAB16B0; Mon, 2 Nov 2020 01:29:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 02 Nov 2020 01:29:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=zoxEadmIhPy2P6R7VSTS1s9mVpM uxOkmk0E/6HqQhmw=; b=zgDQtSTrNE3g9QrmF+R70ZwH7CKYY3fH2iGg4h11gjy oXti1+zXBUVPUaorOz81juE/om7DDBaRAYz8k1lIxty7Xb6XHVLCYK4oMKlvL4pW WyqQk1V+ibPn7l0VJudFeogSH9H4xutFtlRjVDvBVErxiRJunragU6mrDyQP9x4S iKvOv4TvuYlbUR3kMxc01o5JioNJGBGBOZwsXQnB/nBYAHWIkWC+/q9GN9lgbqXA TEVIcpQIV+1K0T/WFASJpIgeCfsGVfygMfZ9TPdBJL1w5It4eluF8ZhGTD5ZM1a4 opUygLibqy5majhl0Y64/zIa3BsXzSb0Y42e/wNotbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=zoxEad mIhPy2P6R7VSTS1s9mVpMuxOkmk0E/6HqQhmw=; b=fJT7VK6QGFjpjzQzcUaI4J +zmHWTlR9g2fU8LlE2LicR2+m3DiSTdLUyIzwcS/WPV3y3KXx28edeN7ZnUXyExv wi4T9kqz3KTUmzJaXhtPDesR27dPdGjNDOFQ9q699W6nVWBLrBW6ajKuQDbmNwqg tZEbDlUYVAnj+1gfFESD1ca/uS/PMDYNOwlr83/x3Jf5g8NXRxSuNGRT7nTZdODa YpnjDJzVwxgiuXBF8oeXsrKtQFKWo1SqRY44vGZkyMJJgWM6oQ22tKc4IeGBsZxi mJNGcwPctc4xyVUTcfyTNNDejYwM7VZejRuWtyVkmhTuDEHKApRTKSYVUOaM13FA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddttddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecukfhppeduuddurddutddvrddukedtrddukeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqh huihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 68AAA328005D; Mon, 2 Nov 2020 01:29:54 -0500 (EST) Date: Mon, 2 Nov 2020 15:29:51 +0900 From: Michael Paquier To: David Rowley Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Allow run-time pruning on nested Append/MergeAppend nodes Message-ID: <20201102062951.GB15770@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi David, On Mon, Nov 02, 2020 at 12:49:52AM +0000, David Rowley wrote: > Allow run-time pruning on nested Append/MergeAppend nodes >=20 > Previously we only tagged on the required information to allow the > executor to perform run-time partition pruning for Append/MergeAppend > nodes belonging to base relations. It was thought that nested > Append/MergeAppend nodes were just about always pulled up into the > top-level Append/MergeAppend and that making the run-time pruning info for > any sub Append/MergeAppend nodes was a waste of time. However, that was > likely badly thought through. fairywen is telling that some of the plans produced in these new tests are not stable: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dfairywren&dt=3D20= 20-11-02%2005%3A20%3A53 Thanks, -- Michael --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl+fp18ACgkQnvQgOdby QH2HUQ//eHCalaU97wE8oCmx5zQmsaOQRMM7l7e0lDLN4dzF3aadewhq23MKOEa9 x3qp5TZ+IqHnfBo2ekMewtBucSQvKISpX10jDiYBMJaYU4WLuFPkfWcm9VzvE2v4 UxuXlMmdtiF2n2iBH5YKiUe4pUTmMlU62VNfwRtv6SxixGfscf1y3OULoLanlG68 ueJ27G0bloYFfjDRa5O+uYXjXp1c6vUm1VcVDkcIxzlCN6gBMOOjBRxWmwM81Djc DrWJZb7UZWD2MI4zeOO7U6eAykdNxHNz6BZEOKzNOLP1uZTIN2BixHid+UkIDsBk kormQXHG2JK4NnMpLyhRaJ3144d6d9PDkkQ9bxneU6CvDGx79W/nwNCG5i6R9H54 jr8s7avqblqLS8c10THeVAb4B2afCRdQUJ/8I7XXVqvg8UdI8sJZh1solVE1tKCa W8keLs+qLw4OhNMB6vZyyvd1Jym8lJ+td2VpdYjq0SCIIUluRboqLSIBj9UyRw9k tHjldP7XIGkgyXD1WOzrBBcY5BBfxq1jPBLC8AmBdIS7AyLiU2XhaOse4vyvUCk1 UGE9wcWEjRhH98OgJ1lEJvCWoduF7n9C5CMuUCeQHizlu+gRtm6oJypFqXrI/oST QnRvVBibKNG0987HLpcRzWSn6WQNFxGwILSqfBwD1vWB5pGeWac= =cjdy -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--