From: Matthew T. O'Connor <matthew@zeut.net>
To: Thomas Swan <tswan@idigx.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Jeff Boes <jboes@nexcerpt.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: matthew@zeut.net
Subject: Re: pg_autovacuum crashes when query fails for temp
Date: Tue, 20 Apr 2004 14:19:09 -0400 (EDT)
Message-ID: <37398.192.154.91.225.1082485149.squirrel@192.154.91.225> (raw)
In-Reply-To: <40855DF0.3010300@idigx.com>
References: <200404201525.i3KFPp809934@candle.pha.pa.us>
<40855DF0.3010300@idigx.com>
> Bruce Momjian wrote:
> Should pg_autovacuum be vacuuming temporary tables?
This is a good question, and I would like some opinions from some other
people more informed than I.
> Secondly, why would
> a temporary table for another session be visible to pg_autovacuum? I
> know these may sound like stupid questions, but I'm a little shocked
> that it found a temp table. Did someone make a permanent table, delete
> it, and pg_autovacuum found it in between those operations?
I will look into this when I have time, it certainly would be possible
that pg_autovacuum could be tripped up by a sequence of events like you
describe above. The more general problem is that it shouldn't crash even
if it's vacuuming tables it shouldn't.
Matthew
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: matthew@zeut.net, tswan@idigx.com, pgman@candle.pha.pa.us, jboes@nexcerpt.com, pgsql-hackers@postgresql.org
Subject: Re: pg_autovacuum crashes when query fails for temp
In-Reply-To: <37398.192.154.91.225.1082485149.squirrel@192.154.91.225>
References: <200404201525.i3KFPp809934@candle.pha.pa.us> <40855DF0.3010300@idigx.com> <37398.192.154.91.225.1082485149.squirrel@192.154.91.225>
* 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