pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brett Okken <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 8ad48a: fix: preserve unquoted unicode whitespace in array...
Date: Tue, 11 Aug 2020 04:55:02 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/4fef49-8ad48a@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 8ad48a611f0622f75e896f79d6a0a733ef3d1028
      https://github.com/pgjdbc/pgjdbc/commit/8ad48a611f0622f75e896f79d6a0a733ef3d1028
  Author: Brett Okken <brett.okken.os@gmail.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/Parser.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/ArrayDecoding.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ArrayTest.java

  Log Message:
  -----------
  fix: preserve unquoted unicode whitespace in array literals (#1266)

* fix: don't ignore unquoted non-ascii whitespace

The postgresql backend only quotes ascii whitespace.
https://github.com/pgjdbc/pgjdbc/issues/1257

add comment to existing isSpace method
change from switch to chained ORs

* test: fix comment in ArrayTest.testDirectFieldString

* fix: revert spaces in array literal

* add changelog entry

add test showing inner white spaces not dropped on unquoted strings by
backend.

Co-authored-by: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Co-authored-by: BO8979 <BO8979@W1971362.northamerica.cerner.net>







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/4fef49-8ad48a@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F4fef49-8ad48a@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/4fef49-8ad48a@github.com

 · 

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-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 8ad48a: fix: preserve unquoted unicode whitespace in array...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/4fef49-8ad48a@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/4fef49-8ad48a@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