I am trying to connect my HANA Server (SLES) with a Greenplum cluster. In my HANA server I have installed the last version of PostgreSQL and PostgreSQL ODBC. In "/usr/local/lib/
" path I have the following files:
-rwxr-xr-x 1 root root 1056 May 8 14:31 psqlodbca.la
-rwxr-xr-x 1 root root 1382864 May 8 14:31 psqlodbca.so
-rwxr-xr-x 1 root root 1056 May 8 14:31 psqlodbcw.la
-rwxr-xr-x 1 root root 1494311 May 8 14:31 psqlodbcw.so
Therefore I have installed PostgreSQL ODBC correctly.
In /etc/odbc.ini
I have the following configuration:
[psqlodbc_test_dsn]
Description = psqlodbc regression test DSN
Driver = PostgreSQL Unicode
Trace = Yes
TraceFile =
Database = contrib_regression
Servername = mdw.aws
Username = root
Password =
Port = 5432
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
ConnSettings = set lc_messages='C'
And in /etc/odbcinst.ini
I have the following configuration:
[PostgreSQL Unicode]
Description = PostgreSQL ODBC driver (Unicode version), for regression tests
Driver = ../.libs/psqlodbcw.so
Debug = 0
CommLog = 0
When in /etc/odbc.ini
I change Driver = /usr/local/lib/psqlodbcw.so
and I try to run "isql -v psqlodbc_test_dsn
" the following error appears:
[01000][unixODBC][Driver Manager]Can't open lib '/usr/local/lib/psqlodbcw.so' : file not found
[ISQL]ERROR: Could not SQLConnect
But when in /etc/odbc.ini
I change Driver = PostgreSQL Unicode
and I try to run "isql -v psqlodbc_test_dsn
" the following error appears:
[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect
What could be the error? Thanks for the support!