Hi,
(In light of commit 7b2ccc5e03bf16d1e1bbabca25298108c839ec52)
In RelationBuildDesc(), we have:
if (relation->rd_rel->relhasrules)
RelationBuildRuleLock(relation);
I wonder if we should check relation->rd_rules after the call
to RelationBuildRuleLock().
Your comment is appreciated.