aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-04 14:43:52 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-04 14:43:52 -0400
commit698df3350d37cdaa5b9fcbcb78b5ad5e66e99348 (patch)
treec8429e8a65e79b4f6163724e5b4b15642421c89f
parent1609797c25f6b440371045039733d69fe8cb9410 (diff)
downloadpostgresql-698df3350d37cdaa5b9fcbcb78b5ad5e66e99348.tar.gz
postgresql-698df3350d37cdaa5b9fcbcb78b5ad5e66e99348.zip
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.
-rw-r--r--src/backend/nodes/outfuncs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index 88cde3956c1..0d0ce3c2034 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);