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 1mt36I-00076t-C6 for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 07:35:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mt36G-0003TM-VE for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 07:35:20 +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 1mt36G-0003TC-LX for pgsql-hackers@lists.postgresql.org; Fri, 03 Dec 2021 07:35:20 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mt36E-0006aW-8X for pgsql-hackers@postgresql.org; Fri, 03 Dec 2021 07:35:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E61D93201BC8; Fri, 3 Dec 2021 02:35:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 03 Dec 2021 02:35:15 -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=r2Cjozg8ZyVWHXVf6+EV3oEn5Wg XBNMpMGhK8UvihwM=; b=UHgHWBtfllLiMYeJHzogtaBrdD3pF6XW3lojjPrl/us bYL+x8uL/uMu2r+kqe/KUwqJo9jh9U1nITYf2RloxGjdbKDKFBnhsMORP+sgAIdt 63OKtAK3KLPGCt3rxYe6eob7yWsbUlsiUjwh7WwlL9iQa5jdLrcZt2BSVHBYKjO0 AFZVRIC+kGDC2Juv0fgfT5rPXX35d9xx4fzKnlSg+FqAuoHXiJhsM0UzIEMX/6LE f/enA/9BFuckVPppcidS9e86XwCdxeKm6v6aPkT36f7/Uwq2rzWHFKLe7eQddu1N e1ce5swlZm3qP+zg2mIvJBd4GlJJ96PeoRxzqgPGrSw== 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=r2Cjoz g8ZyVWHXVf6+EV3oEn5WgXBNMpMGhK8UvihwM=; b=lQA2LxdpNsjQL2BRvURU19 Tg3p8+VnGh31GzujXkJOvMt34Z4QC1NpbhcOPzSFIugx2UPOIqgmZmBjL9e0h5Fc Rw2VzJ5REuUNvJfS8TDDyYA6i63nzBvS0vt4SPEhfn1MSr+bSLzCXyT2PX43DMWF efc6ZFgA1SG6RUKUIUswx9pqN/6IXnza0idaT5AVg/wTheWCTbp6/7bHuiUd8k4s O4OHiQAYz7v8XBBDsKEF2l3W5D47cdrtEAZSKZqptAMqperq2eUbPD8R9tYoQ8cb 9w9E/zDVdn/NDpIZEFJ3KwdDUqSGpkUMnXtZLFJRc72Ix9b+fK2ltO8MvA5Qra4w == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieeigdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Dec 2021 02:35:11 -0500 (EST) Date: Fri, 3 Dec 2021 16:35:08 +0900 From: Michael Paquier To: Robert Haas Cc: James Coleman , pgsql-hackers , Amit Kapila , Tom Lane Subject: Re: Parallelize correlated subqueries that execute within each worker Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jBJueCGm4hgBjP8h" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jBJueCGm4hgBjP8h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 15, 2021 at 10:01:37AM -0500, Robert Haas wrote: > On Wed, Nov 3, 2021 at 1:34 PM James Coleman wrote: >> As I understand the current code, parallel plans are largely chosen >> based not on where it's safe to insert a Gather node but rather by >> determining if a given path is parallel safe. Through that lens params >> are a bit of an odd man out -- they aren't inherently unsafe in the >> way a parallel-unsafe function is, but they can only be used in >> parallel plans under certain conditions (whether because of project >> policy, performance, or missing infrastructure). >=20 > Right. Please note that the CF bot is complaining here, so I have moved this patch to the next CF, but changed the status as waiting on author. -- Michael --jBJueCGm4hgBjP8h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmGpyKwACgkQnvQgOdby QH1L7g/+KI2CjmoIqoYhFFYA+leKAzvHuWQ6qefJOH+byyqGcE1NXw1f8Up79GD3 6WpbFPsZNZ3tGAN/cnghiMmT828egi/72ov/1P/+kDqPGdVAOyAH9KZMgpmDd/02 aev4ltpASfsav5yY0lgXlq/MPGGF5p85syR+KkcwUwazBAXyFokfWKnhOvbWy7Oz tAsL8+QHG1sFqwTP1Abc+hzvdvJvBmHZnahL1bLAY8iPo+Jy1krvriLNldlp5KiC kGo2+JYTZXWJmTDb8PN5OJABPuc1FiSsBRQ5R1buhMN4foxr8xsooAUhfrZ7pV11 w0nZZ5EXjVcBcZ3jzvd4kYWQaDMnDjKi1iBKuQR61GxpZ9Yr+2LJz3xcDdAaL1uM JsvCyzd934ZvE9QDt+Va3Grjl65PibAwZiOY9o7d7Qx7eNYkst5PlgbctHm2TBzs 3qEy/tTYiX67wmamffs9t+1fQngpEW3voDBPXUdLRZmY3Pum/U9qi6kSKl+hYw1T tf1I6xeCnGjyg+vIwHOTT/lHNW9mIITNEXFHaHvZXoZBEDxE/kyWKGy1Mmhg0jfG rUvySD63pSrwH2ajRJOWteac1kkODHcGCdC7+IBGSijIXbF6BBqZmvA9vfV8Dn0R wIt7WwHEQBsi6N5OEEk1Je/OIZUL0xEUrx10r+3lDjIGDgw97Wo= =Rbt/ -----END PGP SIGNATURE----- --jBJueCGm4hgBjP8h--