summaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/encnames.c
diff options
context:
space:
mode:
authorTom Lane2007-10-15 22:46:27 +0000
committerTom Lane2007-10-15 22:46:27 +0000
commitfebd60bf5db947ff3ebc0ffa8097f2b7a7629611 (patch)
treef453ad5bcb415be291a072e5c6211b2faa300d27 /src/backend/utils/mb/encnames.c
parent4b21d1f09b96a1a76a72ebc752daeeff77555801 (diff)
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...)
Diffstat (limited to 'src/backend/utils/mb/encnames.c')
-rw-r--r--src/backend/utils/mb/encnames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/mb/encnames.c b/src/backend/utils/mb/encnames.c
index f7ef85511c9..9e8f210240d 100644
--- a/src/backend/utils/mb/encnames.c
+++ b/src/backend/utils/mb/encnames.c
@@ -2,7 +2,7 @@
* Encoding names and routines for work with it. All
* in this file is shared bedween FE and BE.
*
- * $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.35 2007/10/13 20:18:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.36 2007/10/15 22:46:27 tgl Exp $
*/
#ifdef FRONTEND
#include "postgres_fe.h"
@@ -294,7 +294,7 @@ sizeof(pg_encname_tbl) / sizeof(pg_encname_tbl[0]) - 1;
/* ----------
* These are "official" encoding names.
- * XXX must be sorted by the same order as pg_enc type (see mb/pg_wchar.h)
+ * XXX must be sorted by the same order as enum pg_enc (in mb/pg_wchar.h)
* ----------
*/
pg_enc2name pg_enc2name_tbl[] =