Tom Lane wrote:
> Craig Ringer <cr...@postnewspapers.com.au> writes:

> Not sure how you tested that, but index_drop() clearly takes
> AccessExclusiveLock on the table too.  (I'm not sure it really needs
> to --- the comment therein defending the reasoning seems out of date
> --- but it definitely does.)

I just re-checked, and indeed it does. I could've sworn my previous test
only took a lock out on the index.

Thanks for the catch.

--
Craig Ringer

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to