v37-0009-Initialize-missing-fields-in-CreateExecutorState.patch
text/x-patch
Filename: v37-0009-Initialize-missing-fields-in-CreateExecutorState.patch
Type: text/x-patch
Part: 8
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v37-0009
Subject: Initialize missing fields in CreateExecutorState()
| File | + | − |
|---|---|---|
| src/backend/executor/execUtils.c | 3 | 0 |
From 52ca0331db0cdf58672562a912de9423217adab9 Mon Sep 17 00:00:00 2001 From: Melanie Plageman <melanieplageman@gmail.com> Date: Sun, 1 Mar 2026 16:48:19 -0500 Subject: [PATCH v37 09/15] Initialize missing fields in CreateExecutorState() d47cbf474ecbd449a4 forgot to initialize a few fields it introduced in the EState, so do that now. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> --- src/backend/executor/execUtils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index a7955e476f9..cd4d5452cfb 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -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; -- 2.43.0