pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make all unicode perl scripts to use strict, rearrange logic for
Date: Wed, 30 Nov 2016 16:08:05 +0000
Message-ID: <E1cC7QT-0006gk-6q@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Make all unicode perl scripts to use strict, rearrange logic for clarity.

The loops were a bit difficult to understand, due to breaking out of them
early. Also fix things that perlcritic complained about.

Daniel Gustafsson

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/021d254d9aa0a26a2f6e8cecd922024e65be93a0

Modified Files
--------------
src/backend/utils/mb/Unicode/UCS_to_BIG5.pl        |  4 +-
src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl      | 18 ++---
.../utils/mb/Unicode/UCS_to_EUC_JIS_2004.pl        | 44 +++++-------
src/backend/utils/mb/Unicode/UCS_to_EUC_JP.pl      |  2 +-
src/backend/utils/mb/Unicode/UCS_to_EUC_KR.pl      |  3 +-
src/backend/utils/mb/Unicode/UCS_to_EUC_TW.pl      |  3 +-
src/backend/utils/mb/Unicode/UCS_to_GB18030.pl     | 18 ++---
src/backend/utils/mb/Unicode/UCS_to_JOHAB.pl       |  3 +-
.../utils/mb/Unicode/UCS_to_SHIFT_JIS_2004.pl      | 83 ++++++++++------------
src/backend/utils/mb/Unicode/UCS_to_SJIS.pl        |  2 +-
src/backend/utils/mb/Unicode/UCS_to_UHC.pl         | 18 ++---
src/backend/utils/mb/Unicode/UCS_to_most.pl        | 12 ++--
12 files changed, 102 insertions(+), 108 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cC7QT-0006gk-6q@gemulon.postgresql.org>
Permalink:  ../E1cC7QT-0006gk-6q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cC7QT-0006gk-6q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Make all unicode perl scripts to use strict, rearrange logic for
  In-Reply-To: <E1cC7QT-0006gk-6q@gemulon.postgresql.org>
  References: <E1cC7QT-0006gk-6q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox