Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> writes:
>> It looks like somebody rearranged the pg_enc enum without bothering to
>> fix the tables that are affected by this.
> I will look into this.
Thank you. It might be worth adding a comment to pg_wchar.h listing all
the places that need to be fixed when enum pg_enc changes.
regards, tom lane