Teach pgstat_vacuum_stat to not bother scanning pg_proc in the common case
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Dec 2008 15:44:54 +0000 (15:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Dec 2008 15:44:54 +0000 (15:44 +0000)
commit2328fc5095f2d57f9eede51151d740a8df3f61ce
tree7d63eeb62fb9c553c354f5398a4d1e09d140c194
parentf40cbece317327441a4807fa3b42d6ef41ffc2fb
Teach pgstat_vacuum_stat to not bother scanning pg_proc in the common case
where no function stats entries exist.  Partial response to Pavel's
observation that small VACUUM operations are noticeably slower in CVS HEAD
than 8.3.
src/backend/postmaster/pgstat.c