Re: We need to log aborted autovacuums - Mailing list pgsql-hackers

From Robert Haas
Subject Re: We need to log aborted autovacuums
Date
Msg-id AANLkTinOHDdf-DS6p_NGOuUsPawNqGKQOhUwfth3qYTD@mail.gmail.com
Whole thread Raw
In response to Re: We need to log aborted autovacuums  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: We need to log aborted autovacuums  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Sun, Jan 30, 2011 at 10:03 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Robert Haas's message of dom ene 30 23:37:51 -0300 2011:
>
>> Unless I'm missing something, making autovacuum.c call
>> ConditionalLockRelationOid() is not going to work, because the vacuum
>> transaction isn't started until we get all the way down to
>> vacuum_rel().
>
> Maybe we need ConditionalLockRelationOidForSession or something like
> that?

That'd be another way to go, if there are objections to what I've
implemented here.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: We need to log aborted autovacuums
Next
From: Jeff Davis
Date:
Subject: Re: SSI patch version 14