> While working on some stress suite I found the issue related to way
> ProcessSingleRelationByOid access rel->rd_smgr.
>
> Patch with fix and test is attached (it is self-explanatory and pretty simple).
Good catch! I verify that the bug exists and your patch fixes it. Patch LGTM!
--
Regards,
ChangAo Chen