Ran Tang <8rt4(at)queensu(dot)ca> writes:
> Can anyone explain to me how the "ps_OuterTupleSlot" in JoinState is being used in implementing HashJoin?
Hmm ... [ sounds of grepping ] actually it looks to me like
PlanState.ps_OuterTupleSlot is entirely dead code now. The thing that
actually does something useful is econtext->ecxt_outertuple, which feeds
into qual-condition-checking and result-tuple-projection via Vars that
have varno=OUTER. But I don't see anyplace that is using the
ps_OuterTupleSlot field.
regards, tom lane