Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikamk-0004yT-Pw for pgsql-jdbc@arkaria.postgresql.org; Thu, 26 Dec 2019 21:35:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ikamj-00070q-Ih for pgsql-jdbc@arkaria.postgresql.org; Thu, 26 Dec 2019 21:35:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ikamj-00070j-6y for pgsql-jdbc@lists.postgresql.org; Thu, 26 Dec 2019 21:35:09 +0000 Received: from out-4.smtp.github.com ([192.30.252.195]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ikamg-0003kB-Bl for pgsql-jdbc@lists.postgresql.org; Thu, 26 Dec 2019 21:35:08 +0000 Received: from github-lowworker-ca5950c.va3-iad.github.net (github-lowworker-ca5950c.va3-iad.github.net [10.48.17.57]) by smtp.github.com (Postfix) with ESMTP id 63511C60061 for ; Thu, 26 Dec 2019 13:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1577396105; bh=5m2Uuob39tLUf8udxW39LJNntjGrFAf46npPHZJ5nsA=; h=Date:From:To:Subject:From; b=BRmJTBBy1TmKIgL0OklWqEWu2vtfp/FWjSwdpKrW70Kc4+slytd5SeAiXARbxzFS4 VwkkqThPXC7eRVn/sQpGVLlr2QoU5SdmYo9MweIXprLhPgE4Lt/npDTK6kpl7G2oAJ vz65yfJ+VMd9PjQhJa0vAFmfVelMA+f6febnx0pY= Date: Thu, 26 Dec 2019 13:35:05 -0800 From: =?UTF-8?B?TMWRcmluYyBQYXA=?= To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] db228a: feat: add caller push of binary data (rebase of #9... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master=0D Home: https://github.com/pgjdbc/pgjdbc=0D Commit: db228a4ffd8b356a9028363b35b0eb9055ea53f0=0D https://github.com/pgjdbc/pgjdbc/commit/db228a4ffd8b356a9028363b35b= 0eb9055ea53f0=0D Author: L=C5=91rinc Pap =0D Date: 2019-12-26 (Thu, 26 Dec 2019)=0D =0D Changed paths:=0D A pgjdbc/src/main/java/org/postgresql/core/FixedLengthOutputStream.ja= va=0D M pgjdbc/src/main/java/org/postgresql/core/PGStream.java=0D M pgjdbc/src/main/java/org/postgresql/core/ParameterList.java=0D M pgjdbc/src/main/java/org/postgresql/core/v3/CompositeParameterList.= java=0D M pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.jav= a=0D M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java=0D= A pgjdbc/src/main/java/org/postgresql/util/ByteBufferByteStreamWriter= .java=0D A pgjdbc/src/main/java/org/postgresql/util/ByteStreamWriter.java=0D A pgjdbc/src/test/java/org/postgresql/test/core/FixedLengthOutputStre= amTest.java=0D M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java=0D= A pgjdbc/src/test/java/org/postgresql/test/util/ByteBufferByteStreamW= riterTest.java=0D A pgjdbc/src/test/java/org/postgresql/test/util/ByteStreamWriterTest.= java=0D =0D Log Message:=0D -----------=0D feat: add caller push of binary data (rebase of #953) (#1659)=0D =0D * feat: add caller push of binary data=0D =0D Allows a caller to push binary data to an output stream rather than=0D having to provide a byte array or input stream. This gives the caller=0D more control over buffering strategy and allows explicit cleanup of=0D off-heap buffers or other non-garbage-collected resources.=0D =0D * feat: Introduce ByteStreamTarget=0D =0D * Fix rename in PGStream=0D =0D * Change copyright dates of added files to 2020=0D =0D Co-authored-by: Tom Dunstan =0D =0D =0D