pgsql: Fix assertion failure in generate_orderedappend_paths()

2025-11-05 Thread Richard Guo
Fix assertion failure in generate_orderedappend_paths() In generate_orderedappend_paths(), there is an assumption that a child relation's row estimate is always greater than zero. There is an Assert verifying this assumption, and the estimate is also used to convert an absolute tuple count into a

pgsql: Fix assertion failure in generate_orderedappend_paths()

2025-11-05 Thread Richard Guo
Fix assertion failure in generate_orderedappend_paths() In generate_orderedappend_paths(), there is an assumption that a child relation's row estimate is always greater than zero. There is an Assert verifying this assumption, and the estimate is also used to convert an absolute tuple count into a