Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> Denis Perchine wrote:
>> ERROR: Index 2050642 does not exist
>>
>> Looks like index oid was already resolved, but index was not locked yet...
>> And it was dropped just under the feet...
> Parser-rewriter-planner acquires a short term lock.
> This may be improved in 7.1 though I'm not sure.
I believe it is fixed for 7.1 --- a lock is acquired at first
reference to the table and not released.
regards, tom lane