From e17dab53ea301031bf41d27e0799b940484c7bb0 Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Fri, 27 Nov 2015 16:50:47 -0500 Subject: [PATCH] Auto-generate file header comments in Unicode mapping files. Some of the Unicode/*.map files had identification comments added to them, evidently by hand. Others did not. Modify the generating scripts to produce these comments automatically, and update the generated files that lacked them. This is just minor cleanup as a by-product of trying to verify that the *.map files can indeed be reproduced from authoritative data. There are a depressingly large number that fail to reproduce from the claimed sources. I have not touched those in this commit, except for the JIS 2004-related files which required only a single comment update to match. Since this only affects comments, no need to consider a back-patch. --- src/backend/utils/mb/Unicode/UCS_to_BIG5.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_GB18030.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_SJIS.pl | 4 ++++ src/backend/utils/mb/Unicode/UCS_to_most.pl | 4 ++++ src/backend/utils/mb/Unicode/big5_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map | 2 +- src/backend/utils/mb/Unicode/koi8u_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map | 2 +- src/backend/utils/mb/Unicode/sjis_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_big5.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map | 2 +- src/backend/utils/mb/Unicode/utf8_to_euc_tw.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_gbk.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_koi8r.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_koi8u.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map | 2 +- src/backend/utils/mb/Unicode/utf8_to_win1250.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1251.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1252.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1253.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1254.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1255.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1256.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1257.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win1258.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win866.map | 2 ++ src/backend/utils/mb/Unicode/utf8_to_win874.map | 2 ++ src/backend/utils/mb/Unicode/win1250_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1251_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1252_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1253_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1254_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1255_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1256_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1257_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win1258_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win866_to_utf8.map | 2 ++ src/backend/utils/mb/Unicode/win874_to_utf8.map | 2 ++ 55 files changed, 122 insertions(+), 4 deletions(-) diff --git a/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl b/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl index bd479298ec7..e172c5f5c00 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_BIG5.pl @@ -97,6 +97,8 @@ close(FILE); $file = lc("utf8_to_big5.map"); open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapBIG5[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -185,6 +187,8 @@ close(FILE); $file = lc("big5_to_utf8.map"); open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapBIG5[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl b/src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl index bfc99123bf6..f49fc15a006 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl @@ -55,6 +55,8 @@ close(FILE); $file = "utf8_to_euc_cn.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapEUC_CN[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -109,6 +111,8 @@ close(FILE); $file = "euc_cn_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapEUC_CN[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl b/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl index 79bc05b4bb0..9c2dec5c3b7 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl @@ -136,6 +136,8 @@ close(FILE); $file = "utf8_to_euc_jp.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapEUC_JP[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -263,6 +265,8 @@ close(FILE); $file = "euc_jp_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapEUC_JP[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl b/src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl index fa553fdafa9..1de7a94e3e9 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl @@ -55,6 +55,8 @@ close(FILE); $file = "utf8_to_euc_kr.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapEUC_KR[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -109,6 +111,8 @@ close(FILE); $file = "euc_kr_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapEUC_KR[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl b/src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl index 02414ba2023..4123316305a 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl @@ -71,6 +71,8 @@ close(FILE); $file = "utf8_to_euc_tw.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapEUC_TW[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -138,6 +140,8 @@ close(FILE); $file = "euc_tw_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapEUC_TW[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl index e73ed4d865e..da9308a7dd5 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_GB18030.pl @@ -56,6 +56,8 @@ close(FILE); $file = "utf8_to_gb18030.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapGB18030[ $count ] = {\n"; $cc = $count; @@ -83,6 +85,8 @@ close(FILE); $file = "gb18030_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapGB18030[ $count ] = {\n"; $cc = $count; diff --git a/src/backend/utils/mb/Unicode/UCS_to_SJIS.pl b/src/backend/utils/mb/Unicode/UCS_to_SJIS.pl index 74cd7ac5f88..51808bd488a 100755 --- a/src/backend/utils/mb/Unicode/UCS_to_SJIS.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_SJIS.pl @@ -72,6 +72,8 @@ close(FILE); $file = "utf8_to_sjis.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmapSJIS[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -122,6 +124,8 @@ close(FILE); $file = "sjis_to_utf8.map"; open(FILE, "> $file") || die("cannot open $file"); + +print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmapSJIS[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/UCS_to_most.pl b/src/backend/utils/mb/Unicode/UCS_to_most.pl index 94e13fa241c..3be63e24017 100644 --- a/src/backend/utils/mb/Unicode/UCS_to_most.pl +++ b/src/backend/utils/mb/Unicode/UCS_to_most.pl @@ -88,6 +88,8 @@ foreach $charset (@charsets) $file = lc("utf8_to_${charset}.map"); open(FILE, "> $file") || die("cannot open $file"); + + print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_utf_to_local ULmap${charset}[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) @@ -140,6 +142,8 @@ foreach $charset (@charsets) $file = lc("${charset}_to_utf8.map"); open(FILE, "> $file") || die("cannot open $file"); + + print FILE "/* src/backend/utils/mb/Unicode/$file */\n\n"; print FILE "static const pg_local_to_utf LUmap${charset}[ $count ] = {\n"; for $index (sort { $a <=> $b } keys(%array)) { diff --git a/src/backend/utils/mb/Unicode/big5_to_utf8.map b/src/backend/utils/mb/Unicode/big5_to_utf8.map index 8d6dbd2a35f..433ba62a189 100644 --- a/src/backend/utils/mb/Unicode/big5_to_utf8.map +++ b/src/backend/utils/mb/Unicode/big5_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/big5_to_utf8.map */ + static const pg_local_to_utf LUmapBIG5[ 13717 ] = { {0xa140, 0xe38080}, {0xa141, 0xefbc8c}, diff --git a/src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map b/src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map index 50959297521..59a1d946359 100644 --- a/src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map +++ b/src/backend/utils/mb/Unicode/euc_jis_2004_to_utf8.map @@ -333,7 +333,7 @@ static const pg_local_to_utf LUmapEUC_JIS_2004[] = { {0x00a2ac, 0x00e28691}, /* U+2191 UPWARDS ARROW */ {0x00a2ad, 0x00e28693}, /* U+2193 DOWNWARDS ARROW */ {0x00a2ae, 0x00e38093}, /* U+3013 GETA MARK */ - {0x00a2af, 0x00efbc87}, /* U+FF07 FULLWIDTH APOSTROPHE */ + {0x00a2af, 0x00efbc87}, /* U+FF07 FULLWIDTH APOSTROPHE [2000] */ {0x00a2b0, 0x00efbc82}, /* U+FF02 FULLWIDTH QUOTATION MARK [2000] */ {0x00a2b1, 0x00efbc8d}, /* U+FF0D FULLWIDTH HYPHEN-MINUS [2000] */ {0x00a2b2, 0x00efbd9e}, /* U+FF5E FULLWIDTH TILDE [2000] */ diff --git a/src/backend/utils/mb/Unicode/koi8u_to_utf8.map b/src/backend/utils/mb/Unicode/koi8u_to_utf8.map index 087ad4a5f5e..fcc959b78cf 100644 --- a/src/backend/utils/mb/Unicode/koi8u_to_utf8.map +++ b/src/backend/utils/mb/Unicode/koi8u_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/koi8u_to_utf8.map */ + static const pg_local_to_utf LUmapKOI8U[ 128 ] = { {0x0080, 0xe29480}, {0x0081, 0xe29482}, diff --git a/src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map b/src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map index f2b268acd39..f4e03e90d8a 100644 --- a/src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map +++ b/src/backend/utils/mb/Unicode/shift_jis_2004_to_utf8.map @@ -301,7 +301,7 @@ static const pg_local_to_utf LUmapSHIFT_JIS_2004[] = { {0x81aa, 0x00e28691}, /* U+2191 UPWARDS ARROW */ {0x81ab, 0x00e28693}, /* U+2193 DOWNWARDS ARROW */ {0x81ac, 0x00e38093}, /* U+3013 GETA MARK */ - {0x81ad, 0x00efbc87}, /* U+FF07 FULLWIDTH APOSTROPHE */ + {0x81ad, 0x00efbc87}, /* U+FF07 FULLWIDTH APOSTROPHE [2000] */ {0x81ae, 0x00efbc82}, /* U+FF02 FULLWIDTH QUOTATION MARK [2000] */ {0x81af, 0x00efbc8d}, /* U+FF0D FULLWIDTH HYPHEN-MINUS [2000] */ {0x81b0, 0x0000007e}, /* U+007E TILDE [2000] Fullwidth: U+FF5E */ diff --git a/src/backend/utils/mb/Unicode/sjis_to_utf8.map b/src/backend/utils/mb/Unicode/sjis_to_utf8.map index 6bafaa330fa..90751bd0cb9 100644 --- a/src/backend/utils/mb/Unicode/sjis_to_utf8.map +++ b/src/backend/utils/mb/Unicode/sjis_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/sjis_to_utf8.map */ + static const pg_local_to_utf LUmapSJIS[ 7787 ] = { {0x00a1, 0xefbda1}, {0x00a2, 0xefbda2}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_big5.map b/src/backend/utils/mb/Unicode/utf8_to_big5.map index 68cccf441c0..d5b054102d2 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_big5.map +++ b/src/backend/utils/mb/Unicode/utf8_to_big5.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_big5.map */ + static const pg_utf_to_local ULmapBIG5[ 13711 ] = { {0xc2a2, 0xa246}, {0xc2a3, 0xa247}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map b/src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map index 250771f19bb..bae26f2d86d 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map +++ b/src/backend/utils/mb/Unicode/utf8_to_euc_jis_2004.map @@ -10977,7 +10977,7 @@ static const pg_utf_to_local ULmapEUC_JIS_2004[] = { {0x00efbc84, 0x00a1f0}, /* U+FF04 FULLWIDTH DOLLAR SIGN */ {0x00efbc85, 0x00a1f3}, /* U+FF05 FULLWIDTH PERCENT SIGN */ {0x00efbc86, 0x00a1f5}, /* U+FF06 FULLWIDTH AMPERSAND */ - {0x00efbc87, 0x00a2af}, /* U+FF07 FULLWIDTH APOSTROPHE */ + {0x00efbc87, 0x00a2af}, /* U+FF07 FULLWIDTH APOSTROPHE [2000] */ {0x00efbc88, 0x00a1ca}, /* U+FF08 FULLWIDTH LEFT PARENTHESIS */ {0x00efbc89, 0x00a1cb}, /* U+FF09 FULLWIDTH RIGHT PARENTHESIS */ {0x00efbc8a, 0x00a1f6}, /* U+FF0A FULLWIDTH ASTERISK */ diff --git a/src/backend/utils/mb/Unicode/utf8_to_euc_tw.map b/src/backend/utils/mb/Unicode/utf8_to_euc_tw.map index 0ade01aa885..1663530e40f 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_euc_tw.map +++ b/src/backend/utils/mb/Unicode/utf8_to_euc_tw.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_euc_tw.map */ + static const pg_utf_to_local ULmapEUC_TW[ 17711 ] = { {0xc2a7, 0xa1f0}, {0xc2b0, 0xa2f8}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_gbk.map b/src/backend/utils/mb/Unicode/utf8_to_gbk.map index 70febd7b2c4..ca8fa9b5220 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_gbk.map +++ b/src/backend/utils/mb/Unicode/utf8_to_gbk.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_gbk.map */ + static const pg_utf_to_local ULmapGBK[ 21792 ] = { {0xc2a4, 0xa1e8}, {0xc2a7, 0xa1ec}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map index 85bbd23cea6..1f0ccab0a22 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_10.map */ + static const pg_utf_to_local ULmapISO8859_10[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map index 24588af3401..741ca24e0e4 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_13.map */ + static const pg_utf_to_local ULmapISO8859_13[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map index 8f273050861..66ffd2e3ea6 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_14.map */ + static const pg_utf_to_local ULmapISO8859_14[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map index f314021b9c7..d47eba19859 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_15.map */ + static const pg_utf_to_local ULmapISO8859_15[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map index 6a8c754bc0f..e3314412798 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_16.map */ + static const pg_utf_to_local ULmapISO8859_16[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map index 8e65a6a4afe..0f64feb74c7 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_2.map */ + static const pg_utf_to_local ULmapISO8859_2[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map index 8d0242dd151..62f0358fc41 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_3.map */ + static const pg_utf_to_local ULmapISO8859_3[ 121 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map index 30fe4f3a501..9acd7d4ecda 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_4.map */ + static const pg_utf_to_local ULmapISO8859_4[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map index 6509d7f6ebf..077ca4f9f94 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_5.map */ + static const pg_utf_to_local ULmapISO8859_5[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map index 8f29f26ffe6..3e91314e139 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_6.map */ + static const pg_utf_to_local ULmapISO8859_6[ 83 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map index b0488ec3e0c..f5a9db3fe4f 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_7.map */ + static const pg_utf_to_local ULmapISO8859_7[ 125 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map index 7f31c5dee99..50c15089b7e 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_8.map */ + static const pg_utf_to_local ULmapISO8859_8[ 92 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map b/src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map index d34b8afcf2e..b9637a7392e 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map +++ b/src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_iso8859_9.map */ + static const pg_utf_to_local ULmapISO8859_9[ 128 ] = { {0xc280, 0x0080}, {0xc281, 0x0081}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_koi8r.map b/src/backend/utils/mb/Unicode/utf8_to_koi8r.map index b4760da43c8..6911f9f980f 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_koi8r.map +++ b/src/backend/utils/mb/Unicode/utf8_to_koi8r.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_koi8r.map */ + static const pg_utf_to_local ULmapKOI8R[ 128 ] = { {0xc2a0, 0x009a}, {0xc2a9, 0x00bf}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_koi8u.map b/src/backend/utils/mb/Unicode/utf8_to_koi8u.map index b6366e8718d..0622292abcb 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_koi8u.map +++ b/src/backend/utils/mb/Unicode/utf8_to_koi8u.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_koi8u.map */ + static const pg_utf_to_local ULmapKOI8U[ 128 ] = { {0xc2a0, 0x009a}, {0xc2a9, 0x00bf}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map b/src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map index 2db1902f587..5eb8c69564c 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map +++ b/src/backend/utils/mb/Unicode/utf8_to_shift_jis_2004.map @@ -10945,7 +10945,7 @@ static const pg_utf_to_local ULmapSHIFT_JIS_2004[] = { {0x00efbc84, 0x008190}, /* U+FF04 FULLWIDTH DOLLAR SIGN */ {0x00efbc85, 0x008193}, /* U+FF05 FULLWIDTH PERCENT SIGN */ {0x00efbc86, 0x008195}, /* U+FF06 FULLWIDTH AMPERSAND */ - {0x00efbc87, 0x0081ad}, /* U+FF07 FULLWIDTH APOSTROPHE */ + {0x00efbc87, 0x0081ad}, /* U+FF07 FULLWIDTH APOSTROPHE [2000] */ {0x00efbc88, 0x008169}, /* U+FF08 FULLWIDTH LEFT PARENTHESIS */ {0x00efbc89, 0x00816a}, /* U+FF09 FULLWIDTH RIGHT PARENTHESIS */ {0x00efbc8a, 0x008196}, /* U+FF0A FULLWIDTH ASTERISK */ diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1250.map b/src/backend/utils/mb/Unicode/utf8_to_win1250.map index 4dd4631ab82..85aec0f77ae 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1250.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1250.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1250.map */ + static const pg_utf_to_local ULmapWIN1250[ 123 ] = { {0xc2a0, 0x00a0}, {0xc2a4, 0x00a4}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1251.map b/src/backend/utils/mb/Unicode/utf8_to_win1251.map index 3dc9f2b5e3a..9d981cb2bfb 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1251.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1251.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1251.map */ + static const pg_utf_to_local ULmapWIN1251[ 127 ] = { {0xc2a0, 0x00a0}, {0xc2a4, 0x00a4}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1252.map b/src/backend/utils/mb/Unicode/utf8_to_win1252.map index bc460a340b2..6a8c4acfbb3 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1252.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1252.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1252.map */ + static const pg_utf_to_local ULmapWIN1252[ 123 ] = { {0xc2a0, 0x00a0}, {0xc2a1, 0x00a1}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1253.map b/src/backend/utils/mb/Unicode/utf8_to_win1253.map index 4cf03301363..eca31aa7ff6 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1253.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1253.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1253.map */ + static const pg_utf_to_local ULmapWIN1253[ 111 ] = { {0xc2a0, 0x00a0}, {0xc2a3, 0x00a3}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1254.map b/src/backend/utils/mb/Unicode/utf8_to_win1254.map index 54f1e0fe4cb..9ceb9665423 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1254.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1254.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1254.map */ + static const pg_utf_to_local ULmapWIN1254[ 121 ] = { {0xc2a0, 0x00a0}, {0xc2a1, 0x00a1}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1255.map b/src/backend/utils/mb/Unicode/utf8_to_win1255.map index 328f0a1293d..76746d7a2dc 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1255.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1255.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1255.map */ + static const pg_utf_to_local ULmapWIN1255[ 105 ] = { {0xc2a0, 0x00a0}, {0xc2a1, 0x00a1}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1256.map b/src/backend/utils/mb/Unicode/utf8_to_win1256.map index aa7d36a18e2..5f1b9b324c6 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1256.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1256.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1256.map */ + static const pg_utf_to_local ULmapWIN1256[ 128 ] = { {0xc2a0, 0x00a0}, {0xc2a2, 0x00a2}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1257.map b/src/backend/utils/mb/Unicode/utf8_to_win1257.map index dca28d28ae9..afc7ae6ecc2 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1257.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1257.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1257.map */ + static const pg_utf_to_local ULmapWIN1257[ 116 ] = { {0xc2a0, 0x00a0}, {0xc2a2, 0x00a2}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win1258.map b/src/backend/utils/mb/Unicode/utf8_to_win1258.map index 371e315bdb6..05ab3702f19 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win1258.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win1258.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win1258.map */ + static const pg_utf_to_local ULmapWIN1258[ 119 ] = { {0xc2a0, 0x00a0}, {0xc2a1, 0x00a1}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win866.map b/src/backend/utils/mb/Unicode/utf8_to_win866.map index dbd705b96c7..f9c48a0d38c 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win866.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win866.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win866.map */ + static const pg_utf_to_local ULmapWIN866[ 128 ] = { {0xc2a0, 0x00ff}, {0xc2a4, 0x00fd}, diff --git a/src/backend/utils/mb/Unicode/utf8_to_win874.map b/src/backend/utils/mb/Unicode/utf8_to_win874.map index 9265a39f4e4..96123ce93f6 100644 --- a/src/backend/utils/mb/Unicode/utf8_to_win874.map +++ b/src/backend/utils/mb/Unicode/utf8_to_win874.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/utf8_to_win874.map */ + static const pg_utf_to_local ULmapWIN874[ 97 ] = { {0xc2a0, 0x00a0}, {0xe0b881, 0x00a1}, diff --git a/src/backend/utils/mb/Unicode/win1250_to_utf8.map b/src/backend/utils/mb/Unicode/win1250_to_utf8.map index dd44dceafc8..860e8d01c69 100644 --- a/src/backend/utils/mb/Unicode/win1250_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1250_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1250_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1250[ 123 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1251_to_utf8.map b/src/backend/utils/mb/Unicode/win1251_to_utf8.map index a4f1aeb49da..9403e2957df 100644 --- a/src/backend/utils/mb/Unicode/win1251_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1251_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1251_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1251[ 127 ] = { {0x0080, 0xd082}, {0x0081, 0xd083}, diff --git a/src/backend/utils/mb/Unicode/win1252_to_utf8.map b/src/backend/utils/mb/Unicode/win1252_to_utf8.map index 7b547becc81..709f38f5ce3 100644 --- a/src/backend/utils/mb/Unicode/win1252_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1252_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1252_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1252[ 123 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1253_to_utf8.map b/src/backend/utils/mb/Unicode/win1253_to_utf8.map index d22b72f23f7..bc83d72a0f1 100644 --- a/src/backend/utils/mb/Unicode/win1253_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1253_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1253_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1253[ 111 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1254_to_utf8.map b/src/backend/utils/mb/Unicode/win1254_to_utf8.map index 3eff3d657a8..8d483b6a2ac 100644 --- a/src/backend/utils/mb/Unicode/win1254_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1254_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1254_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1254[ 121 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1255_to_utf8.map b/src/backend/utils/mb/Unicode/win1255_to_utf8.map index 5be6b63e08d..aaca6da16c6 100644 --- a/src/backend/utils/mb/Unicode/win1255_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1255_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1255_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1255[ 105 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1256_to_utf8.map b/src/backend/utils/mb/Unicode/win1256_to_utf8.map index a61aa45ec26..dfc486b711d 100644 --- a/src/backend/utils/mb/Unicode/win1256_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1256_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1256_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1256[ 128 ] = { {0x0080, 0xe282ac}, {0x0081, 0xd9be}, diff --git a/src/backend/utils/mb/Unicode/win1257_to_utf8.map b/src/backend/utils/mb/Unicode/win1257_to_utf8.map index 134f9726a85..5da3c28d99d 100644 --- a/src/backend/utils/mb/Unicode/win1257_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1257_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1257_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1257[ 116 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win1258_to_utf8.map b/src/backend/utils/mb/Unicode/win1258_to_utf8.map index 5807d112dc2..a1fcb19ab92 100644 --- a/src/backend/utils/mb/Unicode/win1258_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win1258_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win1258_to_utf8.map */ + static const pg_local_to_utf LUmapWIN1258[ 119 ] = { {0x0080, 0xe282ac}, {0x0082, 0xe2809a}, diff --git a/src/backend/utils/mb/Unicode/win866_to_utf8.map b/src/backend/utils/mb/Unicode/win866_to_utf8.map index 411c043b277..540fd7c688d 100644 --- a/src/backend/utils/mb/Unicode/win866_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win866_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win866_to_utf8.map */ + static const pg_local_to_utf LUmapWIN866[ 128 ] = { {0x0080, 0xd090}, {0x0081, 0xd091}, diff --git a/src/backend/utils/mb/Unicode/win874_to_utf8.map b/src/backend/utils/mb/Unicode/win874_to_utf8.map index 1472b0f1e6f..2b9a7853e18 100644 --- a/src/backend/utils/mb/Unicode/win874_to_utf8.map +++ b/src/backend/utils/mb/Unicode/win874_to_utf8.map @@ -1,3 +1,5 @@ +/* src/backend/utils/mb/Unicode/win874_to_utf8.map */ + static const pg_local_to_utf LUmapWIN874[ 97 ] = { {0x0080, 0xe282ac}, {0x0085, 0xe280a6}, -- GitLab