pgsql: Make ExecInitExpr build the list of SubPlans found in a plan tree

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make ExecInitExpr build the list of SubPlans found in a plan tree
Date: 2009-04-05 20:32:07
Message-ID: 20090405203207.07F67754ADE@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/executor:
execQual.c (r1.244 -> r1.245)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execQual.c?r1=1.244&r2=1.245)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gsmet 2009-04-05 20:55:07 pgfouine - pgfouine: applied a patch from Steve Woodcock to fix a long
Previous Message User Gsmet 2009-04-05 20:27:19 pgfouine - pgfouine: applied a patch from Max Valjanski to support large