From: Melanie Plageman Date: Sun, 15 Mar 2026 14:12:16 +0000 (-0400) Subject: Initialize missing fields in CreateExecutorState() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3511443e5e1cb59bae86d0757aa727dda099704;p=thirdparty%2Fpostgresql.git Initialize missing fields in CreateExecutorState() d47cbf474ec and cbc127917e0 forgot to initialize a few fields they introduced in the EState, so do that now. Author: Melanie Plageman Reviewed-by: Chao Li Discussion: https://postgr.es/m/F5CDD1B5-628C-44A1-9F85-3958C626F6A9%40gmail.com --- 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;