Re: explain and PARAM_EXEC
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2010-02-20T04:10:49Z
Lists: pgsql-hackers
On Fri, Feb 19, 2010 at 11:05 PM, Robert Haas <robertmhaas@gmail.com> wrote: > I don't think it's a stretch to say that I'm the one who is confused. > I am under the (perhaps faulty) impression that when evaluating an > expression there can only ever be three tuples in score: inner, outer, s/score/scope. > and scan. So when we go to evaluate the expression whose result will > be assigned to $0, where do we get those inner and/or outer and/or > scan tuples from? IOW, I understand where the subplan is putting its > OUTPUT, what I don't understand is what context is being used to set > its input parameters. ...Robert