Re: patch for pg_autovacuum 8.0.x prevent segv for dropped tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: daveg <daveg(at)sonic(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: patch for pg_autovacuum 8.0.x prevent segv for dropped tables
Date: 2005-10-20 16:06:51
Message-ID: 11226.1129824411@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

daveg <daveg(at)sonic(dot)net> writes:
> Below is a patch for this that should apply against any 8.0.x. The change
> verifies that the catalog query returned some rows before accessing the row
> data.

Surely this is completely broken? AFAICT you are testing the result
from a VACUUM or ANALYZE command, which is not going to return any
tuples.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Matthew T. O'Connor 2005-10-20 16:24:48 Re: patch for pg_autovacuum 8.0.x prevent segv for dropped
Previous Message Andrew Dunstan 2005-10-20 14:52:26 Re: patch for pg_autovacuum 8.0.x prevent segv for dropped