From: Sehrope Sarkuni <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 73ec81: Cleanup encoding (#1441)
Date: Tue, 09 Apr 2019 12:07:30 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/31bc6e-73ec81@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 73ec817311857756164b1933ce2dfa8127f8dffd
https://github.com/pgjdbc/pgjdbc/commit/73ec817311857756164b1933ce2dfa8127f8dffd
Author: Sehrope Sarkuni <sehrope@jackdb.com>
Date: 2019-04-09 (Tue, 09 Apr 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/Encoding.java
M pgjdbc/src/main/java/org/postgresql/core/UTF8Encoding.java
M pgjdbc/src/main/java/org/postgresql/util/ObjectFactory.java
Log Message:
-----------
Cleanup encoding (#1441)
* fix: Correct typo weather to whether
* misc: Change internal Encoding.testAsciiNumbers(...) to be static
* perf: Enhance Encoding constructor to allow skipping of ASCII number compatibility test
Adds a two parameter constructor to Encoding to allow sub classes to specify whether their
known ASCII compatability so as to skip testing. The only usage of it is the UTF8Encoding
which is changed to use the new constructor.
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-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] 73ec81: Cleanup encoding (#1441)
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/31bc6e-73ec81@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/31bc6e-73ec81@github.com>
* 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