Alvaro Herrera <alvherre@xxxxxxxxxxxxxxxxx> writes: > Tom Lane wrote: >>> Hmm, autovacuum won't show up in pg_stat_activity because it never >>> calls pgstat_report_activity(). Seems like maybe it should, though. > Yep. I'll fix it. Should I backpatch to 8.1? Yeah, probably, because this is really a regression from 8.0: the old contrib autovacuum's activities would show in pg_stat_activity, since it was just issuing the VACUUM/ANALYZE commands normally. regards, tom lane