From e69785debfcca308a5999946bbf4cfefd0ab5e3c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 10 Jan 2003 21:08:15 +0000 Subject: Further tweaking of parsetree & plantree representation of SubLinks. Simplify SubLink by storing just a List of operator OIDs, instead of a list of incomplete OpExprs --- that was a bizarre and bulky choice, with no redeeming social value since we have to build new OpExprs anyway when forming the plan tree. --- src/backend/nodes/readfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/nodes/readfuncs.c') diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index 99afc0438c3..457e04eb9f6 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.145 2003/01/09 20:50:51 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.146 2003/01/10 21:08:11 tgl Exp $ * * NOTES * Path and Plan nodes do not have any readfuncs support, because we @@ -531,10 +531,10 @@ _readSubLink(void) READ_LOCALS(SubLink); READ_ENUM_FIELD(subLinkType, SubLinkType); - READ_BOOL_FIELD(operIsEquals); READ_BOOL_FIELD(useOr); READ_NODE_FIELD(lefthand); - READ_NODE_FIELD(oper); + READ_NODE_FIELD(operName); + READ_INTLIST_FIELD(operOids); READ_NODE_FIELD(subselect); READ_DONE(); -- cgit v1.2.3