Zhihong Yu <z...@yugabyte.com> wrote:
> Hi,
> For RangeVarCallbackForDropRelation():
>
> +               LockRelationOid(indexRelationOid, heap_lockmode);
>
> Since the above is called for both if and else blocks, it can be lifted 
> outside.

Thanks for the feedback.  Attached new v3 patch with feedback addressed.

--
Jimmy Yih (VMware)
Gaurab Dey (VMware)

Attachment: v3-0001-Fix-concurrent-deadlock-scenario-with-DROP-INDEX-.patch
Description: v3-0001-Fix-concurrent-deadlock-scenario-with-DROP-INDEX-.patch

Reply via email to