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] 0fd093: Refactor decoding arrays (#1194)
Date: Thu, 06 Aug 2020 09:59:08 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/5801e3-0fd093@github.com> (raw)

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

  Changed paths:
    M docs/documentation/head/arrays.md
    A pgjdbc/src/main/java/org/postgresql/jdbc/ArrayDecoding.java
    A pgjdbc/src/main/java/org/postgresql/jdbc/ArrayEncoding.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/BooleanTypeUtil.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgArray.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
    R pgjdbc/src/main/java/org/postgresql/jdbc/PrimitiveArraySupport.java
    M pgjdbc/src/main/java/org/postgresql/jdbc2/ArrayAssistantRegistry.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/AbstractArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ArraysTestSuite.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/BigDecimalObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/BooleanArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/BooleanObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ByteaArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/DoubleArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/DoubleObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/FloatArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/FloatObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/IntArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/IntegerObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/LongArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/LongObjectArraysTest.java
    R pgjdbc/src/test/java/org/postgresql/jdbc/PrimitiveArraySupportTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ShortArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/ShortObjectArraysTest.java
    A pgjdbc/src/test/java/org/postgresql/jdbc/StringArraysTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/ArrayTest.java
    A pgjdbc/src/test/java/org/postgresql/test/util/RegexMatcher.java

  Log Message:
  -----------
  Refactor decoding arrays (#1194)

* feat: support creating binary varchar[]

* feat: expand binary array support

Add binary support for varchar[].
Add array support for bytea[].
Add binary support for multi-dimensional arrays when the base type
supports binary representation.
address handling of reading offsets into binary multi-dimensional array
documentation
explicitly set null elements when reading binary array
chain append calls
add support for OID_ARRAY as binary type
Add binary support for multi-dimensional arrays when the base type
supports binary representation.
Parameters and return values are not null by default => remove NonNull
Generics are nullable by default => add NonNull when needed.

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







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/5801e3-0fd093@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F5801e3-0fd093@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/5801e3-0fd093@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] 0fd093: Refactor decoding arrays (#1194)
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/5801e3-0fd093@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/5801e3-0fd093@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