Re: pg_restore dependencies - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_restore dependencies
Date
Msg-id 1465.1239398715@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_restore dependencies  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_restore dependencies  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yeah. I think the correct logic is roughly this: When considering if a 
> candidate item has a locking conflict with a running item, then if 
> *either* of them has a locking dependency that coincides with *any* 
> dependency of the other item, then the candidate is rejected. The 
> principle is that we don't give any item a chance to block on a lock.

Doesn't that eliminate any chance of running two CREATE INDEXes
concurrently on the same table?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #4027: backslash escapingnotdisabledinplpgsql
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_restore dependencies