| From: | Lőrinc Pap <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] db228a: feat: add caller push of binary data (rebase of #9... |
| Date: | 2019-12-26 21:35:05 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/a44ab4-db228a@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: db228a4ffd8b356a9028363b35b0eb9055ea53f0
https://github.com/pgjdbc/pgjdbc/commit/db228a4ffd8b356a9028363b35b0eb9055ea53f0
Author: Lőrinc Pap <pap(dot)lorinc(at)gmail(dot)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(at)users(dot)noreply(dot)github(dot)com>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zhenlei Huang | 2019-12-30 08:28:36 | [pgjdbc/pgjdbc] 633168: chore: upgrade checkstyle to 8.28 (#1660) |
| Previous Message | reibitto | 2019-12-21 17:19:01 | [pgjdbc/pgjdbc] a44ab4: Fix interval overflow (#1658) |