pgsql: Tweak set_rel_width() to avoid redundant executions of - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Tweak set_rel_width() to avoid redundant executions of
Date
Msg-id 20070421024113.298F19FB53C@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Tweak set_rel_width() to avoid redundant executions of getrelid().
In very large queries this accounts for a noticeable fraction of
planning time.  Per an example from Greg Stark.

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        costsize.c (r1.179 -> r1.180)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c.diff?r1=1.179&r2=1.180)

pgsql-committers by date:

Previous
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: psqlodbc - psqlodbc: Update the installer for WiX3.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Adjust pgstat_initstats() to avoid repeated searches of the