I attached fix which modify foreign_data test. It fix problem with Czech collation when numbers are ordered after letters. I retyped affected column to name datatype which uses bitwise cmp. Zdenek
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных