pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Swan <tswan@idigx.com>
To: 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 tables
Date: Tue, 20 Apr 2004 12:29:20 -0500
Message-ID: <40855DF0.3010300@idigx.com> (raw)
In-Reply-To: <200404201525.i3KFPp809934@candle.pha.pa.us>
References: <200404201525.i3KFPp809934@candle.pha.pa.us>

Bruce Momjian wrote:

>I looked into this and I see a number of cases where pg_autovacuum calls
>send_query(), but doesn't test for a NULL return from the function.
>
>Matthew, would you look into this and submit a patch?  Thanks.
>
>  
>
Should pg_autovacuum be vacuuming temporary tables?  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?




view thread (16+ messages)  latest in thread

Message-ID: <40855DF0.3010300@idigx.com>
Permalink:  ../40855DF0.3010300@idigx.com/
Also on:    postgresql.org/message-id/40855DF0.3010300@idigx.com

 · 

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 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: tswan@idigx.com, pgman@candle.pha.pa.us, jboes@nexcerpt.com, pgsql-hackers@postgresql.org, matthew@zeut.net
  Subject: Re: pg_autovacuum crashes when query fails for temp tables
  In-Reply-To: <40855DF0.3010300@idigx.com>
  References: <200404201525.i3KFPp809934@candle.pha.pa.us> <40855DF0.3010300@idigx.com>

* 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