From: Giuliano Gavazzi <"dev +pgsql"@humph.com>
To: afore@sonic.net
To: pgsql-odbc@postgresql.org
Subject: Re: Postgresql & ODBC
Date: Fri, 31 Jan 2003 21:16:48 +0000
Message-ID: <a05200f1fba60972a0f5f@[10.0.1.13]> (raw)
In-Reply-To: <3E394A5E.609@sonic.net>
References: <3E394A5E.609@sonic.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: "dev +pgsql"@humph.com, afore@sonic.net
Subject: Re: Postgresql & ODBC
In-Reply-To: <a05200f1fba60972a0f5f@[10.0.1.13]>
References: <3E394A5E.609@sonic.net> <a05200f1fba60972a0f5f@[10.0.1.13]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox