Skip site navigation (1) Skip section navigation (2)

pgsql: Tweak set_rel_width() to avoid redundant executions of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak set_rel_width() to avoid redundant executions of
Date: 2007-04-21 02:41:13
Message-ID: 20070421024113.298F19FB53C@postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2007-04-21 04:10:53
Subject: pgsql: Adjust pgstat_initstats() to avoid repeated searches of the
Previous:From: User H-saitoDate: 2007-04-21 01:06:48
Subject: psqlodbc - psqlodbc: Update the installer for WiX3.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group