Jeff Janes wrote:
> The attached patch takes a ShareUpdateExclusiveLock lock on the index in
> order to clean the pending list.
Does it take a lock on the table also? Because if not ...
> One potential problem is how it will interact with "create index
> concurrently".
... then I don't understand how you could have a problem here. Surely
no pending list cleanup can happen concurrently with the index being
created?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services