Tom Lane wrote:
> Craig Ringer <craig@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