Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group