From 7021f0c5f953edea1cdd1ba4cf3645bb54a636d7 Mon Sep 17 00:00:00 2001 From: Mingli Zhang Date: Tue, 6 Sep 2022 00:28:44 +0800 Subject: [PATCH vn] exec_subplan_get_plan is not used --- src/include/nodes/plannodes.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index dca2a21e7a..9b9c08b8e0 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -96,11 +96,6 @@ typedef struct PlannedStmt int stmt_len; /* length in bytes; 0 means "rest of string" */ } PlannedStmt; -/* macro for fetching the Plan associated with a SubPlan node */ -#define exec_subplan_get_plan(plannedstmt, subplan) \ - ((Plan *) list_nth((plannedstmt)->subplans, (subplan)->plan_id - 1)) - - /* ---------------- * Plan node * -- 2.34.1