Hi,

I am trying access PostgreSQL using unixODBC 2.3 and psqlodbc 9, when I run isql I get the error down. My environment is a HPUX 11.11 PARISC.

./isql PGDESW postgres postgres
[ISQL]ERROR: Could not SQLConnect

file odbcinst.ini:
[ODBC]
Trace=yes
TraceFile=/tmp/odbc_log.txt

[PostgreSQL]
Driver = /usr/local/psqlodbc/lib/psqlodbcw.sl
Setup = /usr/local/psqlodbc/lib/psqlodbcw.sl

file odbc.ini:
[PGDESW]
Driver = PostgreSQL
Database = db_h_comissao_variavel
Servername = 10.128.1.34
Port = 5432

file odbc_log.txt:

[ODBC][9855][1342525898.778182][SQLConnect.c][3908]Error: IM002