Hello, everyone and Daniel! 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). Best regards, Mikhail.
v1-0001-Do-not-hold-rd_smgr-across-the-fork-loop-when-ena.patch
Description: Binary data
