Zhihong Yu <zyu@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)