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)

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to