Skip site navigation (1) Skip section navigation (2)

Re: psqlODBC driver does not work

From: Bob Woodside <dumbledore(at)woodsway(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Cc: "Yury Koles" <fresh_impression(at)hotmail(dot)com>
Subject: Re: psqlODBC driver does not work
Date: 2004-05-14 20:31:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
On Fri, 14 May 2004 06:41:04 +0000
"Yury Koles" <fresh_impression(at)hotmail(dot)com> wrote:

> I've problem getting the psqlODBC driver and ODBC in
> general to work on RedHat 9. I've built and installed
> PostgreSQL ver. 7.4.2, unixODBC driver manager
> ver. 2.2.8, and psqlODBC driver ver. 07.03.0200 without
> errors.  In the documentation I've seen that the
> driver's name is, but I cannot find
> anywhere on the system.  The psqlODBC
> distribution builds '' and ''.  I
> tried using '' in 'odbcinst.ini' as a value
> of the 'Driver' field, but I could not connect to my
> database using 'isql', namely, once I type the command
> isql -v examples_ODBC userfoo passwd
> and press ENTER 'isql' hangs and I have to kill it with
> ^C.
> Could somebody point me in the right direction.  I
> don't even sure of the right library name.  EVEN SHORT

	Are you using the full path to in your odbcinst.ini - 

Driver        =  /usr/local/lib/

or wherever it got installed?

> I've built ODBC driver from unixODBC distribution:
> '' and connected using that one with
> isql.

	In a word, don't. I'm not up on the history of that driver, but
I have the impression that it's fairly obsolete. I've never gotten it to
work properly. Someone else on the list may be able to shed some light
on its history.

	By the way, I think you can drop the Setup variable from your
odbcinst.ini. I think that only had meaning for the unixODBC version of
the driver. Here's what the postgres entry in my odbcinst.ini looks

Description		= PostgreSQL 7.4.2 driver (psqlodbc-7.3.2)
Driver			= /opt3/lib/
FileUsage		= 1
CPTimeout		= 
CPReuse			= 
CommLog			= 1
Debug			= 1


In response to


pgsql-odbc by date

Next:From: Tom LaneDate: 2004-05-15 18:17:00
Subject: Re: psqlODBC driver does not work
Previous:From: Yury KolesDate: 2004-05-14 06:41:04
Subject: psqlODBC driver does not work

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group