From 5472743d9e8583638a897b47558066167cc14583 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 4 May 2023 12:09:59 +0200 Subject: Revert "Move PartitionPruneInfo out of plan nodes into PlannedStmt" This reverts commit ec386948948c and its fixup 589bb816499e. This change was intended to support query planning avoiding acquisition of locks on partitions that were going to be pruned; however, the overall project took a different direction at [1] and this bit is no longer needed. Put things back the way they were as agreed in [2], to avoid unnecessary complexity. Discussion: [1] https://postgr.es/m/4191508.1674157166@sss.pgh.pa.us Discussion: [2] https://postgr.es/m/20230502175409.kcoirxczpdha26wt@alvherre.pgsql --- src/backend/executor/execUtils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/backend/executor/execUtils.c') diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index 872cbd454df..25aba9a243a 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -123,7 +123,6 @@ CreateExecutorState(void) estate->es_rowmarks = NULL; estate->es_rteperminfos = NIL; estate->es_plannedstmt = NULL; - estate->es_part_prune_infos = NIL; estate->es_junkFilter = NULL; -- cgit v1.2.3