You can't just randomly rearrange the pg_enc enum without forcing an initdb, because the numeric values of the encodings appear in system catalogs (eg pg_conversion). regards, tom lane
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных