Make ExecInitExpr build the list of SubPlans found in a plan tree in order
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Apr 2009 20:32:06 +0000 (20:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 Apr 2009 20:32:06 +0000 (20:32 +0000)
commitdd03ba9fcaa5d04b28148e2ed6fb533fe1f71433
treec2a45ca67f3375fef5ba96ff2bc9e80dfe103b73
parent7f0c31d9ae42816da3d4303182715eb70ba75417
Make ExecInitExpr build the list of SubPlans found in a plan tree in order
of discovery, rather than reverse order.  This doesn't matter functionally
(I suppose the previous coding dates from the time when lcons was markedly
cheaper than lappend).  However now that EXPLAIN is labeling subplans with
IDs that are based on order of creation, this may help produce a slightly
less surprising printout.
src/backend/executor/execQual.c