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

Version 1 Next »

In this article

Overview

The JDBC Driver Class for Redshift Accounts is bundled with the Redshift driver com.amazon.redshift.jdbc42.Driver. This upgrade is backward-compatible; however, the support for the PostgreSQL driver class will end in the November 2023 release. If you are using PostgreSQL driver in your existing accounts, we recommend you to migrate from PostgreSQL driver to 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 be using the Amazon Redshift Driver as default one going forward.

  • Support for PostgreSQL driver as the default one will continue only up till November 2023. After November we will no longer support PostgreSQL driver as default one.

  • The existing pipeline still uses postgresql driver as default one till November.

Upgrade:

To upgrade from the PostgreSQL driver to 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 is as shown below, then your accounts will be authenticated succesfully.

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 is as shown below, then your accounts will NOT be authenticated succesfully.

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