Pushed.
Attached patch fixes premature xs_orderbynulls[] assignment. The old value of NULL flag, not the new, should be checked before pfree()ing the old value.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных