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 1uz5zE-00GYrS-U8 for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Sep 2025 04:11:12 +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 1uz5zC-00DJVN-Cn for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Sep 2025 04:11:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uz5zC-00DJVF-3w for pgsql-bugs@lists.postgresql.org; Thu, 18 Sep 2025 04:11:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uz5z5-001RIa-2s for pgsql-bugs@lists.postgresql.org; Thu, 18 Sep 2025 04:11:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 58I4B09S1836972; Thu, 18 Sep 2025 00:11:00 -0400 From: Tom Lane To: David Rowley cc: Amit Langote , feichanghong , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19056: ExecInitPartitionExecPruning segfault due to NULL es_part_prune_infos In-reply-to: References: <19056-a677cef9b54d76a0@postgresql.org> Comments: In-reply-to David Rowley message dated "Thu, 18 Sep 2025 15:47:37 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1836970.1758168660.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Sep 2025 00:11:00 -0400 Message-ID: <1836971.1758168660@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > On Thu, 18 Sept 2025 at 15:37, Amit Langote wr= ote: >> +# Test that EState.es_part_prune_infos is properly set in EvalPlanQual= Start() >> +# Bug #19056 > I don't think it's that useful to note down the bug number that caused > that test to be added. We're inconsistent about whether we do that or not, but it's far from un-heard-of. I just today pushed a patch in which I did mention the bug# in the test case [1], and I did so mostly because the adjacent test case had a similar comment. So I see no reason to object to Amit's usage. > I think it'd be better to write something like: > "Exercise run-time partition pruning code in an EPQ plan" Not expressing an opinion about whether that's better or worse than Amit's lede. regards, tom lane [1] https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h= =3Db0cc0a71e0a0a760f54c72edb8cd000e4555442b