Re: Can anyone explain to me how the "ps_OuterTupleSlot" in PlanState is being used in implementing HashJoin? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Can anyone explain to me how the "ps_OuterTupleSlot" in PlanState is being used in implementing HashJoin?
Date
Msg-id 6342.1224738531@sss.pgh.pa.us
Whole thread Raw
In response to Can anyone explain to me how the "ps_OuterTupleSlot" in PlanState is being used in implementing HashJoin?  (Ran Tang <8rt4@queensu.ca>)
List pgsql-hackers
Ran Tang <8rt4@queensu.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


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: psql Feature request \set query
Next
From: Heikki Linnakangas
Date:
Subject: Re: Deriving Recovery Snapshots