pgsql: Avoid inserting no-op Limit plan nodes.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid inserting no-op Limit plan nodes.
Date: 2013-03-14 19:11:14
Message-ID: E1UGDYY-000817-1U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid inserting no-op Limit plan nodes.

This was discussed in connection with the patch to avoid inserting no-op
Result nodes, but not actually implemented therein.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1a1832eb085e5bca198735e5d0e766a3cb61b8fc

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 57 +++++++++++++++++++++++-
src/test/regress/expected/updatable_views.out | 60 +++++++++++-------------
2 files changed, 84 insertions(+), 33 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-15 02:57:15 pgsql: Extend format() to handle field width and left/right alignment.
Previous Message Kevin Grittner 2013-03-14 19:02:06 pgsql: Revert unnecessary change in MV call to checkRuleResultList().