Table of Contents

Search

  1. Preface
  2. Introduction to PostgreSQL Connector
  3. Connections for PostgreSQL
  4. Mappings and mapping tasks with PostgreSQL Connector
  5. PostgreSQL objects in mapping tasks
  6. Lookup transformation
  7. SQL transformation
  8. Migrating a mapping
  9. PostgreSQL SQL ELT optimization
  10. Data type reference

PostgreSQL Connector

PostgreSQL Connector

Configuring a PostgreSQL ODBC connection on Linux

Configuring a 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. To get the PostgreSQL ODBC 64-bit driver, contact Informatica Global Customer Support.
  2. Install the PostgreSQL ODBC driver on the machine where the Secure Agent is installed.
  3. Configure the
    odbc.ini
    file properties with the required database details.
    For example, see the following sample ODBC.ini snippet:
    [ODBC_PostgreSQL] Driver=/<ODBC driver file path>/DWpsql<ODBC driver version number>.so Description=PostgreSQL DSN HostName=<hostname> PortNumber=5432 Database=<databasename>
  4. Run the following command to export the
    odbc.ini
    file:
    Export ODBCINI=/<odbc.ini file path>/odbc.ini
  5. Restart the Secure Agent.
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!