Re: Potential deadlock with auto-analyze - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Potential deadlock with auto-analyze
Date
Msg-id 20080609152412.GD5026@alvh.no-ip.org
Whole thread Raw
In response to Potential deadlock with auto-analyze  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> If that's the right diagnosis, we probably ought to try to fix DROP
> INDEX to not do that, since it could deadlock against any number of
> things not just autovac.  But there's another question here: can we
> make autovac lose the deadlock war, instead of the user process?

Hmm, I thought autovacuum was already supposed to lose on deadlock.
Perhaps it's only considering VACUUM though and not analyze ... [checks]
nope, that doesn't seem to be it.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pg_dump restore time and Foreign Keys
Next
From: Tom Lane
Date:
Subject: Re: pg_dump restore time and Foreign Keys