Table of Contents

Search

PowerExchange for PostgreSQL User Guide for PowerCenter

PowerExchange for PostgreSQL User Guide for PowerCenter

Configuring PostgreSQL ODBC Connection on Linux

Configuring PostgreSQL ODBC Connection on Linux

Before you establish an ODBC connection to connect to PostgreSQL on Linux, you must configure the ODBC connection.
Perform the following steps to configure an ODBC connection on Linux:
  1. Download the PostgreSQL ODBC drivers from the PostgreSQL website.
    You must download the 32-bit or 64-bit driver based on your Linux system.
  2. Install the PostgreSQL ODBC drivers on the machine that hosts the PowerCenter Integration Service.
  3. Configure the
    odbc.ini
    file properties in the following format, for example:
    [PostgreSQL] Driver=/export/home/pc100_64/PCQA100_DOMAIN/Informatica/10.0.0/ODBC7.1/lib/DWpsql28.so Setup=/usr/lib64/libodbcpsqlS.so Servername=10.65.43.55 Port=5432 Database=postgres user=postgres password=root
  4. Specify the following properties in the
    odbc.ini
    file:
    Property
    Description
    ODBC Data Sources
    Name of the data source.
    Driver
    Location of the PostgreSQL ODBC driver file.
    Host
    Location of the PostgreSQL host.
    Port
    Port number of the PostgreSQL server.
    Database
    Name of the PostgreSQL database.
    You must specify the
    Host
    ,
    Port
    , and
    Database
    values from the JDBC URL.
  5. Add the
    odbc.ini
    file path in your source file in the following format:
    ODBCINI=/<odbc.ini file path>/odbc.ini
  6. Restart the PowerCenter Server.
    The PostgreSQL ODBC connection on Linux is configured successfully.
After you configure the PostgreSQL ODBC connection, you must create an ODBC connection to connect to PostgreSQL.

0 COMMENTS

We’d like to hear from you!