

 Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the [ blog post ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/) that was published on June 30, 2025. 

# Differences between the 2.x and 1.x versions of the JDBC driver
<a name="jdbc20-jdbc10-driver-differences"></a>

This section describes the differences in the information returned by the 2.x and 1.x versions of the JDBC driver. The JDBC driver version 1.x is discontinued.

The following table lists the DatabaseMetadata information returned by the getDatabaseProductName() and getDatabaseProductVersion() functions for each version of the JDBC driver. JDBC driver version 2.x obtains the values while establishing the connection. JDBC driver version 1.x obtains the values as a result of a query.


| JDBC driver version | getDatabaseProductName() result | getDatabaseProductVersion() result | 
| --- | --- | --- | 
| 2.x | Redshift | 8.0.2 | 
| 1.x | PostgreSQL | 08.00.0002 | 

The following table lists the DatabaseMetadata information returned by the getTypeInfo function for each version of the JDBC driver. 


| JDBC driver version | getTypeInfo result | 
| --- | --- | 
| 2.x | Consistent with Redshift datatypes | 
| 1.x | Consistent with PostgreSQL datatypes | 