]> granicus.if.org Git - postgresql/commit
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)
commiteb4c723e562c350f3af828ebe0e8847c79a02a69
treee2d2ea0d39a63f93b9f6798ecdff58616fd9627a
parentfbcce08046bc553901ccbcf1ea6cf82f61968970
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