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 6 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. Therefore, we recommend you to migrate from the PostgreSQL driver to the Redshift driver, if you are using the PostgreSQL driver in your existing accounts.

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 driver from the March 2023 release.

  • Support for the PostgreSQL driver as the default driver will continue until November 2023. So your existing Pipelines can use the PostgreSQL driver as the default one until November 2023. If you continue to use the PostgreSQL driver beyond November 2023, your Pipelines will break.

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