]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Initialize missing fields in CreateExecutorState()
authorMelanie Plageman <melanieplageman@gmail.com>
Sun, 15 Mar 2026 14:12:16 +0000 (10:12 -0400)
committerMelanie Plageman <melanieplageman@gmail.com>
Sun, 15 Mar 2026 14:13:14 +0000 (10:13 -0400)
d47cbf474ec and cbc127917e0 forgot to initialize a few fields they
introduced in the EState, so do that now.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/F5CDD1B5-628C-44A1-9F85-3958C626F6A9%40gmail.com

src/backend/executor/execUtils.c

index a7955e476f903b4afbbf43e35221531deda49fff..cd4d5452cfbb10465bb1334f7f4b2a38cb45d54c 100644 (file)
@@ -119,6 +119,9 @@ CreateExecutorState(void)
        estate->es_rteperminfos = NIL;
        estate->es_plannedstmt = NULL;
        estate->es_part_prune_infos = NIL;
+       estate->es_part_prune_states = NIL;
+       estate->es_part_prune_results = NIL;
+       estate->es_unpruned_relids = NULL;
 
        estate->es_junkFilter = NULL;