pgsql: Fix conversion table generator scripts.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix conversion table generator scripts.
Date: 2020-07-22 04:52:41
Message-ID: E1jy6kD-0006vV-Cb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)ntt(at)gmail(dot)com>
Discussion: https://postgr.es/m/CA%2BhUKGJ7SEGLbj%3D%3DTQCcyKRA9aqj8%2B6L%3DexSq1y25TA%3DWxLziQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5073871ea655e37759f22f30c4c70359ad9759b

Modified Files
--------------
src/backend/utils/mb/Unicode/Makefile | 2 +-
.../utils/mb/Unicode/UCS_to_EUC_JIS_2004.pl | 7 +--
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl | 3 +-
.../utils/mb/Unicode/UCS_to_SHIFT_JIS_2004.pl | 7 +--
src/backend/utils/mb/Unicode/convutils.pm | 62 ++++++++++++----------
5 files changed, 44 insertions(+), 37 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-07-22 05:54:41 pgsql: Fix corner case with PGP decompression in pgcrypto
Previous Message Michael Paquier 2020-07-22 01:19:10 pgsql: Fix comment in sha2.h