Re: Vacuum Error - Relation Deleted while still in use

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thorne, Francis" <thornef(at)cromwell(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Vacuum Error - Relation Deleted while still in use
Date: 2009-09-04 14:56:08
Message-ID: 15688.1252076168@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Thorne, Francis" <thornef(at)cromwell(dot)co(dot)uk> writes:
> Last night I got the error
> Error Relation 41036649 deleted while still in use

This is not particularly surprising in 8.1 --- it has some race
conditions that can result in that type of error if vacuum (or anything
else) tries to open a table just as something else is deleting it.
We fixed that around 8.2, but it's really just a cosmetic issue
(you'd rather the message was "relation foo does not exist" ...)
I don't see any reason to worry.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-09-04 15:01:19 Re: Is Vacuum Working ?
Previous Message Thorne, Francis 2009-09-04 08:49:31 Is Vacuum Working ?