On Tue, Sep 15, 2026 at 8:35 AM Richard Guo <[email protected]> wrote: > > The alternatives are a flat copy of Path, and reference counting (and > maybe more). Copying also fixes the bug, so maybe it would be a > workable solution too. Reference counting is more appealing in > principle, but I think it's far too large a change to back-patch. > > Thoughts?
FWIW, we discussed reference counting paths in [1]. It is invasive. We had seen a similar report around that time or that thread references a thread with a similar bug as this thread. [1] https://www.postgresql.org/message-id/CAExHW5tUcVsBkq9qT%3DL5vYz4e-cwQNw%3DKAGJrtSyzOp3F%3DXacA%40mail.gmail.com -- Best Wishes, Ashutosh Bapat
