On Fri, Nov 25, 2022 at 8:17 AM Tom Lane wrote:
> Ted Yu writes:
> > I wonder if we should check relation->rd_rules after the call
> > to RelationBuildRuleLock().
>
> That patch is both pointless and wrong. There is some
> value in updating relhasrules in the catalog, so that future
> relcache
Ted Yu writes:
> I wonder if we should check relation->rd_rules after the call
> to RelationBuildRuleLock().
That patch is both pointless and wrong. There is some
value in updating relhasrules in the catalog, so that future
relcache loads don't uselessly call RelationBuildRuleLock;
but we certai