aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>1999-03-24 06:53:28 +0000
committerTatsuo Ishii <ishii@postgresql.org>1999-03-24 06:53:28 +0000
commit2c775870bc76044faad1e457e114a0e6af533e9d (patch)
tree022462c6da11b2a0b914ebeaa986ec468e07eec6 /src
parent61ce9cd366a5a874ea2cc2f777f8d69d35fa271d (diff)
downloadpostgresql-2c775870bc76044faad1e457e114a0e6af533e9d.tar.gz
postgresql-2c775870bc76044faad1e457e114a0e6af533e9d.zip
Add KOI8/WIN/ALT to the multi-byte encoding selections
Diffstat (limited to 'src')
-rw-r--r--src/include/mb/pg_wchar.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h
index 88960636118..55e19a1a538 100644
--- a/src/include/mb/pg_wchar.h
+++ b/src/include/mb/pg_wchar.h
@@ -1,4 +1,4 @@
-/* $Id: pg_wchar.h,v 1.6 1999/02/02 18:51:25 momjian Exp $ */
+/* $Id: pg_wchar.h,v 1.7 1999/03/24 06:53:28 ishii Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
@@ -23,6 +23,9 @@
#define LATIN7 13 /* ISO-8859 Latin 7 */
#define LATIN8 14 /* ISO-8859 Latin 8 */
#define LATIN9 15 /* ISO-8859 Latin 9 */
+#define KOI8 16 /* KOI8-R */
+#define WIN 17 /* windows-1251 */
+#define ALT 18 /* Alternativny Variant (MS-DOS CP866) */
/* followings are for client encoding only */
#define SJIS 32 /* Shift JIS */
#define BIG5 33 /* Big5 */
@@ -57,7 +60,8 @@ typedef unsigned int pg_wchar;
#define LC_ISO8859_4 0x84 /* ISO8859 Latin 4 */
#define LC_ISO8859_5 0x8d /* ISO8859 Latin 5 */
#define LC_JISX0201K 0x89 /* Japanese 1 byte kana */
-#define LC_JISX0201R 0x90 /* Japanese 1 byte Roman */
+#define LC_JISX0201R 0x8a /* Japanese 1 byte Roman */
+#define LC_KOI8_R 0x8c /* Cyrillic KOI8-R */
#define LC_GB2312_80 0x91 /* Chinese */
#define LC_JISX0208 0x92 /* Japanese Kanji */
#define LC_KS5601 0x93 /* Korean */