Re: patch for pg_autovacuum 8.0.x prevent segv for dropped tables - Mailing list pgsql-patches

From Tom Lane
Subject Re: patch for pg_autovacuum 8.0.x prevent segv for dropped tables
Date
Msg-id 11226.1129824411@sss.pgh.pa.us
Whole thread Raw
In response to patch for pg_autovacuum 8.0.x prevent segv for dropped tables  (daveg <daveg@sonic.net>)
Responses Re: patch for pg_autovacuum 8.0.x prevent segv for dropped
Re: patch for pg_autovacuum 8.0.x prevent segv for dropped
List pgsql-patches
daveg <daveg@sonic.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

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: patch for pg_autovacuum 8.0.x prevent segv for dropped
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: patch for pg_autovacuum 8.0.x prevent segv for dropped