mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Executor no longer cares about mergejoinop, mergerightorder, mergeleftorder,
so remove them from MergeJoin node. Hack together a partial solution for commuted mergejoin operators --- yesterday a mergejoin int4 = int8 would crash if the planner decided to commute it, today it works. The planner's representation of mergejoins really needs a rewrite though. Also, further testing of mergejoin ops in opr_sanity regress test.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: outfuncs.c,v 1.76 1999/02/23 08:01:47 thomas Exp $
|
||||
* $Id: outfuncs.c,v 1.77 1999/03/01 00:10:31 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every (plan) node in POSTGRES has an associated "out" routine which
|
||||
@ -371,12 +371,6 @@ _outMergeJoin(StringInfo str, MergeJoin *node)
|
||||
|
||||
appendStringInfo(str, " :mergeclauses ");
|
||||
_outNode(str, node->mergeclauses);
|
||||
|
||||
appendStringInfo(str,
|
||||
" :mergejoinop %u :mergerightorder %u :mergeleftorder %u ",
|
||||
node->mergejoinop,
|
||||
node->mergerightorder,
|
||||
node->mergeleftorder);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user