On Mon, Sep 21, 2026 at 3:30 PM wenhui qiu <[email protected]> wrote:
>> One thing I may be missing, though: after replacing `rinfo->clause_relids`, 
>> should we also update `rinfo->num_base_rels`?

Good point.  I think we should do that.  And it seems that commit
03107b4ed was sloppy about updating num_base_rels.  On master the
problematic RestrictInfo has stale num_base_rels:

   :num_base_rels 2
   :clause_relids (b 1 2 3 8)

I'm a little surprised that that hasn't caused problems so far.

- Richard


Reply via email to