aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2002-09-18 02:10:10 +0000
committerTatsuo Ishii <ishii@postgresql.org>2002-09-18 02:10:10 +0000
commit4b23f05c4f82175f0e5a1370a2c501a94633646c (patch)
treedf1446db86782c0a02a6c68675c04fb991696cff
parent4c0bdd1ba81530769c952c6113393350ee71558f (diff)
downloadpostgresql-4b23f05c4f82175f0e5a1370a2c501a94633646c.tar.gz
postgresql-4b23f05c4f82175f0e5a1370a2c501a94633646c.zip
Fix bug in encoding conversion map.
-rw-r--r--src/backend/utils/mb/Unicode/euc_jp_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/gb18030_to_utf8.map2
-rw-r--r--src/backend/utils/mb/Unicode/utf8_to_gb18030.map2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map b/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
index e19c0d2897c..9aee2c7fd91 100644
--- a/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/euc_jp_to_utf8.map
@@ -1,4 +1,4 @@
-static pg_local_to_utf LUmapEUC_JP[ 13477 ] = {
+static pg_local_to_utf LUmapEUC_JP[] = {
{0x8ea1, 0xefbda1},
{0x8ea2, 0xefbda2},
{0x8ea3, 0xefbda3},
diff --git a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
index 7bda7120799..d8274329aab 100644
--- a/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
+++ b/src/backend/utils/mb/Unicode/gb18030_to_utf8.map
@@ -1,4 +1,4 @@
-static pg_local_to_utf LUmapGB18030[ 63490 ] = {
+static pg_local_to_utf LUmapGB18030[] = {
{0x0000, 0x0000},
{0x0001, 0x0001},
{0x0002, 0x0002},
diff --git a/src/backend/utils/mb/Unicode/utf8_to_gb18030.map b/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
index 67d2573436a..d890f8a711e 100644
--- a/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
+++ b/src/backend/utils/mb/Unicode/utf8_to_gb18030.map
@@ -1,4 +1,4 @@
-static pg_utf_to_local ULmapGB18030[ 63489 ] = {
+static pg_utf_to_local ULmapGB18030[] = {
{0x0000, 0x0000},
{0x0001, 0x0001},
{0x0002, 0x0002},