From 9ab4d98168407c3436d3f0e02d32720b0d9075a0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 5 Jun 2005 22:32:58 +0000 Subject: Remove planner's private fields from Query struct, and put them into a new PlannerInfo struct, which is passed around instead of the bare Query in all the planning code. This commit is essentially just a code-beautification exercise, but it does open the door to making larger changes to the planner data structures without having to muck with the widely-known Query struct. --- src/backend/nodes/readfuncs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/backend/nodes/readfuncs.c') diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index ef405f7a022..e01646a71d1 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/readfuncs.c,v 1.177 2005/04/28 21:47:13 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/readfuncs.c,v 1.178 2005/06/05 22:32:54 tgl Exp $ * * NOTES * Path and Plan nodes do not have any readfuncs support, because we @@ -156,8 +156,6 @@ _readQuery(void) READ_NODE_FIELD(setOperations); READ_NODE_FIELD(resultRelations); - /* planner-internal fields are left zero */ - READ_DONE(); } -- cgit v1.2.3