pgsql: Document nbtree row comparison design.

2025-11-02 Thread Peter Geoghegan
Document nbtree row comparison design. Add comments explaining when and where it is safe for nbtree to treat row compare keys as if they were simple scalar inequality keys on the row's most significant column. This is particularly important within _bt_advance_array_keys, which deals with required

pgsql: Document nbtree row comparison design.

2025-11-02 Thread Peter Geoghegan
Document nbtree row comparison design. Add comments explaining when and where it is safe for nbtree to treat row compare keys as if they were simple scalar inequality keys on the row's most significant column. This is particularly important within _bt_advance_array_keys, which deals with required