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.96) (envelope-from ) id 1vlHyQ-009dfG-0Q for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jan 2026 02:41:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vlHyO-005dUD-17 for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jan 2026 02:41:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vlHyO-005dSy-0A for pgsql-hackers@lists.postgresql.org; Thu, 29 Jan 2026 02:41:32 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vlHyF-002qHk-38 for pgsql-hackers@lists.postgresql.org; Thu, 29 Jan 2026 02:41:26 +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 60T2fIZR1136162; Wed, 28 Jan 2026 21:41:18 -0500 From: Tom Lane To: Robert Haas cc: Lukas Fittl , Jacob Champion , Dian Fay , Matheus Alcantara , Jakub Wartak , PostgreSQL Hackers Subject: Re: pg_plan_advice In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Wed, 28 Jan 2026 12:13:39 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1136160.1769654478.1@sss.pgh.pa.us> Date: Wed, 28 Jan 2026 21:41:18 -0500 Message-ID: <1136161.1769654478@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > That rearrangement got done in v11, and I've now committed that patch > after fixing a few typos that I found. Cautiously, woohoo, but let's > see if anything breaks. skink's not happy: =2162940== VALGRINDERROR-BEGIN ==2162940== Conditional jump or move depends on uninitialised value(s) ==2162940== at 0x434D366: cost_material (costsize.c:2593) ==2162940== by 0x436E7E9: materialize_finished_plan (createplan.c:6531) ==2162940== by 0x4383054: standard_planner (planner.c:533) ==2162940== by 0x4383541: planner (planner.c:324) ==2162940== by 0x44C50B4: pg_plan_query (postgres.c:905) ==2162940== by 0x4237444: standard_ExplainOneQuery (explain.c:354) ==2162940== by 0x42375DF: ExplainOneQuery (explain.c:310) ==2162940== by 0x4237A7A: ExplainOneUtility (explain.c:458) ==2162940== by 0x42375C3: ExplainOneQuery (explain.c:301) ==2162940== by 0x4237745: ExplainQuery (explain.c:224) ==2162940== by 0x44CC834: standard_ProcessUtility (utility.c:868) ==2162940== by 0x44CD09D: ProcessUtility (utility.c:525) ==2162940== Uninitialised value was created by a stack allocation ==2162940== at 0x436E76A: materialize_finished_plan (createplan.c:6506) ==2162940== ==2162940== VALGRINDERROR-END regards, tom lane