Andrew Sullivan <ajs@xxxxxxxxxxxxxxxxx> writes: > On Fri, May 02, 2008 at 12:45:07PM -0400, Tom Lane wrote: >> to have exposed last_autovac_time anywhere in the pgstat views. >> Obviously we cannot back-patch that, but I think it should be fixed >> going forward. > That's already fixed in 8.2 and forward (see > pg_stat_get_last_autovacuum_time() and the pg_stat%tables views). Uh, no, what that function returns is the per-table autovac_vacuum_timestamp. A grep through the source code shows that the per-database last_autovac_time is exposed nowhere. regards, tom lane