summaryrefslogtreecommitdiff
path: root/src/include/mb
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-02-10 19:29:39 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-02-10 19:29:39 +0000
commit8b9dd6b5fd4e6052c593edd5d2fbe0e54da742ef (patch)
treeb038ec875c471f805ee49d48996d67b792c72294 /src/include/mb
parent1cb54c2860f0679927104cc4ad2782db57c7b993 (diff)
downloadpostgresql-8b9dd6b5fd4e6052c593edd5d2fbe0e54da742ef.tar.gz
Support for KOI8U encoding
Diffstat (limited to 'src/include/mb')
-rw-r--r--src/include/mb/pg_wchar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index 65c99a2797..12820d4e20 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.83 2009/01/29 19:23:42 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.84 2009/02/10 19:29:39 petere Exp $
*
* NOTES
* This is used both by the backend and by libpq, but should not be
@@ -202,6 +202,7 @@ typedef enum pg_enc
PG_WIN1254, /* windows-1254 */
PG_WIN1255, /* windows-1255 */
PG_WIN1257, /* windows-1257 */
+ PG_KOI8U, /* KOI8-U */
/* PG_ENCODING_BE_LAST points to the above entry */
/* followings are for client encoding only */
@@ -216,7 +217,7 @@ typedef enum pg_enc
} pg_enc;
-#define PG_ENCODING_BE_LAST PG_WIN1257
+#define PG_ENCODING_BE_LAST PG_KOI8U
/*
* Please use these tests before access to pg_encconv_tbl[]