From ddb2d78de0172b1f3a00c8e3bf35345af9952f43 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 30 Nov 2002 00:08:22 +0000 Subject: Upgrade planner and executor to allow multiple hash keys for a hash join, instead of only one. This should speed up planning (only one hash path to consider for a given pair of relations) as well as allow more effective hashing, when there are multiple hashable joinclauses. --- src/backend/nodes/outfuncs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/backend/nodes/outfuncs.c') diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index 11572a4ebad..528148f02f0 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.183 2002/11/25 21:29:36 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.184 2002/11/30 00:08:16 tgl Exp $ * * NOTES * Every node type that can appear in stored rules' parsetrees *must* @@ -538,7 +538,6 @@ _outHashJoin(StringInfo str, HashJoin *node) _outJoinPlanInfo(str, (Join *) node); WRITE_NODE_FIELD(hashclauses); - WRITE_OID_FIELD(hashjoinop); } static void @@ -634,7 +633,7 @@ _outHash(StringInfo str, Hash *node) _outPlanInfo(str, (Plan *) node); - WRITE_NODE_FIELD(hashkey); + WRITE_NODE_FIELD(hashkeys); } static void -- cgit v1.2.3