Re: HOT and autovacuum - Mailing list pgsql-hackers

From Tom Lane
Subject Re: HOT and autovacuum
Date
Msg-id 1468.1204584442@sss.pgh.pa.us
Whole thread Raw
In response to HOT and autovacuum  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: HOT and autovacuum
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I'm seeing a 8.3 database whose autovacuum-initiated vacuums are being
> cancelled and I am not sure of the cause.  I am wondering if a HOT
> cleanup round on a page could try to acquire locks on it that would
> conflict with autovacuum (basically anything that conflicts with a
> vacuum lock).  This would cause autovacuum to commit hara-kiri.

This is nonsense, no?  A buffer cleanup lock is an LWLock not a lock
manager lock.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Google Summer of Code 2008
Next
From: Andrew Dunstan
Date:
Subject: Re: A couple of PG schedule reminders