On Fri, Aug 30, 2024 at 1:42 PM Jeff Davis <pg...@j-davis.com> wrote: > As far as performance goes, I'm only looking at branch in add_path() > that calls compare_pathkeys(). Do you have some example queries which > would be a worst case for that path?
I think we must be talking past each other somehow. It seems to me that your scheme would require replacing that branch with something more complicated or generalized. If it doesn't, then I don't understand the proposal. If it does, then that seems like it could be a problem. > In general if you can post some details about how you are measuring, > that would be helpful. I'm not really measuring anything at this point, just recalling the many previous times when add_path() has been discussed as a pain point. -- Robert Haas EDB: http://www.enterprisedb.com