pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lőrinc Pap <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] db228a: feat: add caller push of binary data (rebase of #9...
Date: Thu, 26 Dec 2019 13:35:05 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: db228a4ffd8b356a9028363b35b0eb9055ea53f0
      https://github.com/pgjdbc/pgjdbc/commit/db228a4ffd8b356a9028363b35b0eb9055ea53f0
  Author: Lőrinc Pap <pap.lorinc@gmail.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    A pgjdbc/src/main/java/org/postgresql/core/FixedLengthOutputStream.java
    M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
    M pgjdbc/src/main/java/org/postgresql/core/ParameterList.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/CompositeParameterList.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
    A pgjdbc/src/main/java/org/postgresql/util/ByteBufferByteStreamWriter.java
    A pgjdbc/src/main/java/org/postgresql/util/ByteStreamWriter.java
    A pgjdbc/src/test/java/org/postgresql/test/core/FixedLengthOutputStreamTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    A pgjdbc/src/test/java/org/postgresql/test/util/ByteBufferByteStreamWriterTest.java
    A pgjdbc/src/test/java/org/postgresql/test/util/ByteStreamWriterTest.java

  Log Message:
  -----------
  feat: add caller push of binary data (rebase of #953) (#1659)

* feat: add caller push of binary data

Allows a caller to push binary data to an output stream rather than
having to provide a byte array or input stream. This gives the caller
more control over buffering strategy and allows explicit cleanup of
off-heap buffers or other non-garbage-collected resources.

* feat: Introduce ByteStreamTarget

* Fix rename in PGStream

* Change copyright dates of added files to 2020

Co-authored-by: Tom Dunstan <tomdcc@users.noreply.github.com>







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2Fa44ab4-db228a@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@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] db228a: feat: add caller push of binary data (rebase of #9...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@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