Re: Postgresql & ODBC

From: Giuliano Gavazzi <"dev +pgsql"(at)humph(dot)com>
To: afore(at)sonic(dot)net, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Postgresql & ODBC
Date: 2003-01-31 21:16:48
Message-ID: a05200f1fba60972a0f5f@[10.0.1.13]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

At 7:53 -0800 2003/01/30, Art Fore wrote:
>I went through the info on the documentation to setup ODBC for
>Postgresql, but when I use isql PostgresQL-test, I get a no connect
>error. Could someone tell me what I did wrong? The two ini files are
>below. I can connect with Rekall, but it does not use ODBC, it uses
>python script.
>
>odbc.ini
>
>[PostgreSQL]
>Description = Test to Postgres
>Driver = PostgreSQL
>Trace = Yes
>TraceFile = sql.log
>Database = test
>Servername = localhost
>UserName =
>Password =
>Port = 5432
>Protocol = 6.4
>ReadOnly = No
>RowVersioning = No
>ShowSystemTables = No
>ShowOidColumn = No
>FakeOidIndex = No
>ConnSettings =
>
>odbcinst.ini
>
>[PostgreSQL]
>Description = PostgreSQL driver
>Driver = /usr/lib/unixODBC/libodbcpsql.so
>Setup = /usr/lib/unixODBC/libodbcpsqlS.so
>FileUsage = 1
>

I do not know isql, but your odbc.ini does not contain the list of
datasources and the definition of the PostgresQL-test datasource
itself.

Giuliano

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Alain Picard 2003-02-03 00:06:49 ODBC breaks COUNTS, SEQUENCES as of Postgresql 7.3
Previous Message Tambet Matiisen 2003-01-31 09:39:21 psqlodbc.dll crash