Ah, i'm silly. This is a much cleaner implementation of my previous initdb encoding patch. Just discard the previous. Chris
pgsql-patches by date:
Соглашаюсь с условиями обработки персональных данных