Fix conversion table generator scripts.
authorThomas Munro <tmunro@postgresql.org>
Wed, 22 Jul 2020 04:38:20 +0000 (16:38 +1200)
committerThomas Munro <tmunro@postgresql.org>
Wed, 22 Jul 2020 04:50:03 +0000 (16:50 +1200)
commita5073871ea655e37759f22f30c4c70359ad9759b
treeb5f25334430c2999f01a6c76eee7cdf9f5ecd365
parente47c2602aa4d35a4e3eb6ada40454c6c0f1279bf
Fix conversion table generator scripts.

convutils.pm used implicit conversion of undefined value to integer
zero.  Some of conversion scripts are susceptible to regexp greediness.
Fix, avoiding whitespace changes in the output.  Also update ICU URLs
that moved.

No need to back-patch, because the output of these scripts is also in
the source tree so we shouldn't need to rerun them on back-branches.

Author: Kyotaro Horiguchi <horikyoga.ntt@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKGJ7SEGLbj%3D%3DTQCcyKRA9aqj8%2B6L%3DexSq1y25TA%3DWxLziQ%40mail.gmail.com
src/backend/utils/mb/Unicode/Makefile
src/backend/utils/mb/Unicode/UCS_to_EUC_JIS_2004.pl
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl
src/backend/utils/mb/Unicode/UCS_to_SHIFT_JIS_2004.pl
src/backend/utils/mb/Unicode/convutils.pm