Fix pg_wchar_table[] to match revised ordering of the encoding ID enum.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: febd60bf5db947ff3ebc0ffa8097f2b7a7629611
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-10-15T22:46:27Z
Releases: 8.3.0
Fix pg_wchar_table[] to match revised ordering of the encoding ID enum.
Add some comments so hopefully the next poor sod doesn't fall into the
same trap.  (Wrong comments are worse than none at all...)

Files

PathChange+/−
src/backend/utils/mb/encnames.c modified +2 −2
src/backend/utils/mb/wchar.c modified +43 −50
src/include/mb/pg_wchar.h modified +4 −3