Re: autovacuum "connections" are hidden - Mailing list pgsql-general

From Tom Lane
Subject Re: autovacuum "connections" are hidden
Date
Msg-id 21493.1147991095@sss.pgh.pa.us
Whole thread Raw
In response to Re: autovacuum "connections" are hidden  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: autovacuum "connections" are hidden  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> The problem is that pgstat_bestart (called in InitPostgres, which
> autovac calls) deliberately ignores autovacuum, due to not having a
> client address.  We could create a fake client address (which doesn't
> seem easy to do), or we could change pg_stat_activity to use an OUTER
> JOIN.  Not sure what other options are there.

Seems like the client address should read as NULL.  Not sure if that's
hard or not.  Changing the view definition is no fun (at least for an
8.1 back-patch) because it'd require initdb.

            regards, tom lane

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: autovacuum "connections" are hidden
Next
From: Alvaro Herrera
Date:
Subject: Re: autovacuum "connections" are hidden