JDBC Driver for PostgreSQL

Build 24.0.9060

Changelog

General Changes

DateBuild
Number
Change
Type
Description
07/10/20248957PostgreSQLAdded
  • Added a new connection property, InsertMode, which specifies the method to use when inserting bulk data. Permitted values: DML (default), CSVStream.
05/09/20248895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
03/15/20248840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
11/29/20238733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.

Changed
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
11/28/20238732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
11/22/20238726PostgreSQLAdded
  • Added support for connecting a failover server using multi hosts listed by connection properties Server and Port.
10/27/20238700JDBCChanged
  • Added support for Connection.abort() method.
07/19/20238600PostgreSQLChanged
  • Connection property FetchResultSetMetadata is now set to False by default.
04/25/20238515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
01/16/20238416PostgreSQLAdded
  • Added support for GCPOAuthJWT AuthScheme.
11/14/20228353PostgreSQLAdded
  • Added support for AwsEC2Roles AuthScheme.
06/11/20228197JDBCChanged
  • The method GetJDBCMinorVersion() and GetJDBCMajorVersion() return 4.2 as the supported JDBC major / minor version.
04/28/20228153JDBCChanged
  • Removed support for JRE 1.6. JRE 1.8 and above is now required.
03/16/20228110PostgreSQLAdded
  • Added support for 'COPY FROM'.
02/25/20228091JDBCChanged
  • The method DatabaseMetaData.getTypeInfo() now returns all of the data types that the driver supports. Previously, it was returning only a portion of the data types. The types include: tinyint, smallint, int, bigint, float, double, numeric, decimal, bit, date, datetime, time, varchar, binary, uuid.
02/24/20228090JDBCChanged
  • Corrected the return value of method DatabaseMetaData.supportsOuterJoins(), which used to return an incorrect value.
12/10/20218014PostgreSQLAdded
  • Added support for IAM authentication to connect to PostgreSQL server on an Amazon RDS instance.
12/02/20218006PostgreSQLChanged
  • An exception is now raised when the jdbc method connection.setCatalog() is called to change current database. This is not allowed in the middle of a live connection by CockroachDB.
10/27/20217970JDBCChanged
  • Added support for JDK 17
09/12/20217925JDBCRemoved
  • Removed the IS_READONLY, IS_KEY, NUMERIC_PRECISION, and DECIMAL_DIGITS columns from DatabaseMetadata.GetColumns(), as they are not part of the JDBC Specification. This information is still available via other metadata calls.
09/02/20217915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
08/13/20217895PostgreSQLAdded
  • Added the possibility to browse/hide the lisiting of partitions by metadata on the server version 10 and later. Use the BrowsePartitions connection property to control this.
07/23/20217874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
05/28/20217818PostgreSQLAdded
  • Added support for returning PostgreSQL native datatypes in metadata. 'SupportNativeDataType=True' can be added via the Other connection property to enable this functionality.
04/25/20217785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
04/23/20217783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
04/16/20217776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
04/16/20217776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.

Changed
  • Updated index naming convention to avoid duplicates.
04/15/20217775GeneralChanged
  • Kerberos authentication is updated to use TCP by default, but will fall back to UDP if a TCP connection cannot be established.
02/25/20217726PostgreSQLAdded
  • Added connection property Schema. When specified, only the objects of that schema are listed in the database, and the search_path is replaced by this schema name.
01/13/20217683PostgreSQLAdded
  • Added support for Kerberos authentication.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060