Re: [HACKERS] 6.6 items - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] 6.6 items
Date
Msg-id 375D5846.41BCFCC9@krs.ru
Whole thread Raw
In response to RE: [HACKERS] 6.6 items  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
List pgsql-hackers
"Jackson, DeJuan" wrote:
> 
> What about potential deadlocking issues with vacuum?  Haven't tried to
> deadlock vacuum, but wondering if it's possible.

Shouldn't be possible.

Vacuum never acquires AccessExclusive lock on more than
one table at once. This lock is released immediately
after a relation processed.

SELECT/COPY_TO queries from pg_dump lock relations
in AccessShare mode for duration of query.

Vadim


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Open 6.5 items
Next
From: Christopher C Chimelis
Date:
Subject: Re: [PORTS] Anyone working on linux Alpha?