pgsql: Salvage a little bit of work from a failed patch: simplify and

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Salvage a little bit of work from a failed patch: simplify and
Date: 2008-10-17 20:27:24
Message-ID: 20081017202724.F05F37545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Salvage a little bit of work from a failed patch: simplify and speed up
set_rel_width(). The code had been catering for the possibility of different
varnos in the relation targetlist, but this is impossible for a base relation
(and if it were possible, putting all the widths in the same RelOptInfo would
be wrong anyway).

Modified Files:
--------------
pgsql/src/backend/optimizer/path:
costsize.c (r1.198 -> r1.199)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c?r1=1.198&r2=1.199)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-10-17 22:10:30 pgsql: Add a new column to pg_am to specify whether an index AM supports
Previous Message Tom Lane 2008-10-17 20:23:46 pgsql: Improve comments about RelOptInfo.reltargetlist.