Skip to end of banner
Go to start of banner

Upgrading from PostgreSQL Driver to Amazon Redshift Driver

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

In this article

Overview

From the March 2023 (4.32.1.0) release, the JDBC Driver Class for Redshift Accounts will use the Redshift driver com.amazon.redshift.jdbc42.Driver as the default driver. This upgrade is backward-compatible; however, the support for the PostgreSQL driver class will end by the November 2023 release. If you are using the PostgreSQL driver in your existing accounts, we recommend you to migrate from the PostgreSQL driver to the Redshift driver.

Things to remember:

  • Amazon Redshift Driver will be the default driver from the March 2023 (4.32.1.0) release. The new pipelines will use the Amazon Redshift Driver as the default one from the March 2023 release.

  • Support for PostgreSQL driver as the default will continue until November 2023. After November, we will no longer support the PostgreSQL driver as the default one.

  • The existing pipelines can use PostgreSQL driver as default one till November.

Upgrade:

To upgrade from the PostgreSQL driver to the Redshift driver as the default driver, you must update the Driver class name in the Account settings from org.postgresql.Driver to "com.amazon.redshift.jdbc42.Driver" in your existing accounts.

JDBC Driver Configuration in Redshift Accounts

If your account configuration uses the following combination of JAR files, driver classes and JDBC URLs, your accounts are authenticated successfully.

JDBC Driver Jar

JDBC Driver Class

JDBC Url

Authentication

Redshift (default)

com.amazon.redshift.jdbc42.Driver

Jdbc:redshift (default/manual)

Authenticates successfully.

Redshift (manual upload)

com.amazon.redshift.jdbc42.Driver

Jdbc:redshift (default/manual)

Authenticates successfully using the manually uploaded JAR file.

PostgreSQL (default)

org.postgresql.Driver

Jdbc:postgresql (default/manual)

Authenticates successfully.

PostgreSQL (Manual)

org.postgresql.Driver

jdbc:postgresql (default/manual)

Authenticates successfully using the manually uploaded JAR file.

Redshift JAR

org.postgresql.Driver

jdbc:postgresql (default/manual)

Authenticates successfully using the default PostgreSQL JAR file.

PostgreSQL JAR

com.amazon.redshift.jdbc42.Driver

jdbc:redshift (default/manual)

Authenticates successfully using the default Redshift JAR file.

If your account configuration uses the following combination of JAR files, driver classes and JDBC URLs, then your accounts are NOT authenticated successfully.

JDBC Driver Jar

JDBC Driver Class

JDBC Url

Authentication

Redshift JAR

com.amazon.redshift.jdbc42.Driver

jdbc:postgresql

Authentication fails.

Redshift JAR

org.postgresql.Driver

jdbc:redshift

Authentication fails.

PostgreSQL JAR

com.amazon.redshift.jdbc42.Driver

jdbc:postgresql

Authentication fails.

PostgreSQL JAR

org.postgresql.Driver

jdbc:redshift

Authentication fails.

  • No labels