[pgjdbc/pgjdbc] cb78d0: feat: Define binary transfer for custom types dyna...
[pgjdbc/pgjdbc] cb78d0: feat: Define binary transfer for custom types dyna...
От:
Sebastian Baumhekel <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: cb78d0e85148f4fb19ef665343c4f4cfaabf9c26
https://github.com/pgjdbc/pgjdbc/commit/cb78d0e85148f4fb19ef665343c4f4cfaabf9c26
Author: Sebastian Baumhekel
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M .editorconfig
M pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
A pgjdbc/src/test/java/org/postgresql/test/core/QueryExecutorTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc2/CustomTypeWithBinaryTransferTest.java
Log Message:
-----------
feat: Define binary transfer for custom types dynamically/automatically (Issue #2554) (#2556)
The driver would automatically register types for binary transfer when calling
con.unwrap(PGConnection.class).addDataType(String, Class)
Fixes https://github.com/pgjdbc/pgjdbc/issues/2554