pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Sullivan <ajs@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 8.1.8 autovacuum missing databases
Date: Fri, 02 May 2008 16:18:17 -0400
Message-ID: <21487.1209759497@sss.pgh.pa.us> (raw)
In-Reply-To: <20080502195210.GE21477@commandprompt.com>
References: <22093.1209588237@sss.pgh.pa.us>
	<1209646882.16174.15.camel@vega.intellivid.com>
	<7698.1209650248@sss.pgh.pa.us>
	<1209664799.16174.51.camel@vega.intellivid.com>
	<17328.1209667453@sss.pgh.pa.us>
	<1209668403.16174.60.camel@vega.intellivid.com>
	<17606.1209669106@sss.pgh.pa.us>
	<20080502161709.GH2320@alvh.no-ip.org>
	<7391.1209746458@sss.pgh.pa.us>
	<7451.1209746707@sss.pgh.pa.us>
	<20080502195210.GE21477@commandprompt.com>

Andrew Sullivan <ajs@commandprompt.com> 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



view thread (19+ messages)  latest in thread

Message-ID: <21487.1209759497@sss.pgh.pa.us>
Permalink:  ../21487.1209759497@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21487.1209759497@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ajs@commandprompt.com
  Subject: Re: 8.1.8 autovacuum missing databases
  In-Reply-To: <21487.1209759497@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox