Skip to main content

PostgreSQL (ODBC) Connections

You can use the PostgreSQL (ODBC) connector to read data from and write data to PostgreSQL databases in Alteryx One.

This connector is built on the Unified connector framework and uses an Alteryx-managed ODBC driver. No local driver installation is required.

Requirement

Details

Driver installation

The driver is provided by Alteryx One. No separate installation is required.

Connection Type

ODBC

Support

Read and Write

Authentication

Basic Authentication

Prerequisites

Before creating the connection:

  • Make sure that Alteryx One can access the PostgreSQL server.

  • Add the required Alteryx service IP addresses to your allowlist, if applicable.

  • Obtain a PostgreSQL username and password with the required database permissions.

Configure the Connection

To create a connection:

  1. In Alteryx One, go to Data > New Connection.

  2. Search for and select PostgreSQL.

  3. Configure the connection and credential properties.

  4. Select Test Connection.

  5. After the connection test succeeds, select Create.

Connection Details

Once the connection is created, enter the following details in the appropriate fields:

  • Connection Name: Display name for the connection in Alteryx One.

  • Connection Description: Optional description of the connection.

  • Server: Hostname or IP address of the PostgreSQL server.

  • Port: Port used by PostgreSQL. The default is 5432.

  • Database: Name of the PostgreSQL database.

  • ODBC Driver: Alteryx-managed PostgreSQL ODBC driver.

Credential Information

  • Credential Type: Select Username and Password. Only Basic authentication is currently supported.

  • Username: Required. Enter the PostgreSQL username.

  • Password: Required. Enter the password associated with the username.

Limitations

  • Only Basic authentication is supported.

  • Existing connections and workflows are not automatically migrated to the new connector.

Existing PostgreSQL Connector

Alteryx One also provides an existing JDBC-based PostgreSQL connector. For information about that connector, see PostgreSQL Connections.