Re: pg_autovacuum crashes when query fails for temp tables

From: Thomas Swan <tswan(at)idigx(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Jeff Boes <jboes(at)nexcerpt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, matthew(at)zeut(dot)net
Subject: Re: pg_autovacuum crashes when query fails for temp tables
Date: 2004-04-20 17:29:20
Message-ID: 40855DF0.3010300@idigx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Matthew T. O'Connor 2004-04-20 18:19:09 Re: pg_autovacuum crashes when query fails for temp
Previous Message Bruce Momjian 2004-04-20 16:50:16 Re: pg_autovacuum crashes when query fails for temp tables

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2004-04-20 17:37:58 Re: pg_encoding not needed anymore
Previous Message ken 2004-04-20 17:20:54 Reporting a security hole