[JDBC] [pgjdbc/pgjdbc] 634e15: refactor: use TypeInfo getPGArrayType insteadof m...
[JDBC] [pgjdbc/pgjdbc] 634e15: refactor: use TypeInfo getPGArrayType insteadof m...
От:
Michael Glaesemann <grzm@seespotcode.net>
Дата:
Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 634e157e4cdbc2f78f1a90ac4d9f538f39caf4f9 https://github.com/pgjdbc/pgjdbc/commit/634e157e4cdbc2f78f1a90ac4d9f538f39caf4f9 Author: Michael Glaesemann Date: 2017-11-12 (Sun, 12 Nov 2017) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java A ubenchmark/src/main/java/org/postgresql/benchmark/statement/BindArray.java Log Message: ----------- refactor: use TypeInfo getPGArrayType instead of munging type name (#913) The purpose of the getPGArrayType method is to get the array type for a given element type. Let the TypeInfo implementation figure out how to do that rather than appending "[]" to the element type name in PgPreparedStatement setArray. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc