pgsql: Add some comments about division of labor between rewriter and p

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some comments about division of labor between rewriter and p
Date: 2015-12-29 23:50:52
Message-ID: E1aE42W-0003Kl-L4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add some comments about division of labor between rewriter and planner.

The rationale for the way targetlist processing is done wasn't clearly
stated anywhere, and I for one had forgotten some of the details. Having
just painfully re-learned them, add some breadcrumbs for the next person.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/efe4c9d7049f0bf832b792bfad05c92aaf86aa3c

Modified Files
--------------
src/backend/optimizer/prep/preptlist.c | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-12-30 02:21:11 pgsql: Minor hacking on contrib/cube documentation.
Previous Message Tom Lane 2015-12-29 22:06:08 pgsql: Put back one copyObject() in rewriteTargetView().