From 698df3350d37cdaa5b9fcbcb78b5ad5e66e99348 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 4 Sep 2011 14:43:52 -0400 Subject: [PATCH] Can't print PlannerGlobal's subroots list in outfuncs. Since the subroots will surely link back to the same glob struct, this necessarily leads to infinite recursion. Doh. Found while trying to debug some other code. --- src/backend/nodes/outfuncs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 88cde3956c..0d0ce3c203 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -1654,7 +1654,6 @@ _outPlannerGlobal(StringInfo str, PlannerGlobal *node) /* NB: this isn't a complete set of fields */ WRITE_NODE_FIELD(paramlist); WRITE_NODE_FIELD(subplans); - WRITE_NODE_FIELD(subroots); WRITE_BITMAPSET_FIELD(rewindPlanIDs); WRITE_NODE_FIELD(finalrtable); WRITE_NODE_FIELD(finalrowmarks);