Re: [ADMIN] Vacuum error on database postgres - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [ADMIN] Vacuum error on database postgres
Date
Msg-id 23983.1158327661@sss.pgh.pa.us
Whole thread Raw
In response to Re: [ADMIN] Vacuum error on database postgres  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> For stuff run from autovacuum, would it be reasonable for the
> automatically run version to just abort if it sees someone doing the
> same thing?

Not especially --- there's no guarantee that the other guy is going to
commit at all.  And autovac is only holding one lock at a time so it's
not a factor in the deadlock issue anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: [ADMIN] Vacuum error on database postgres
Next
From: Tom Lane
Date:
Subject: Re: Release notes