ODBC on Solaris - Mailing list pgsql-interfaces

From Michael Sims
Subject ODBC on Solaris
Date
Msg-id Pine.LNX.4.30.0012211701540.10524-100000@minsk.netmind.com
Whole thread Raw
Responses Re: ODBC on Solaris  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-interfaces
Greetings all,

I wish to use PostgreSQL via ODBC from a Solaris machine.

I've compiled the ODBC driver, set up the pgsql server on my Linux box,
and discovered the hard way that the pgsql ODBC driver is case-sensitive
when it comes to the names of the values in .odbc.ini.  I have even gotten
my client to connect.

However, when I try to read the names of the tables present using
SQLTables(), I get the following error: "Couldn't allocate statement for
SQLTables result."  This also happens for SQLExecDirect().

I've searched the web and mailing list archives and have found the Linux
solution for an older version of the driver (needing to add -lm -lc
-Bsymbolic), but nothing for Solaris.  Is there an analogous fix I can
make?

I'm using Solaris 2.7, PostgreSQL 7.0.3, and pgsqlODBC 0.26.

Thanks for your time.
Mike

-- 
msims@pumatech.com






pgsql-interfaces by date:

Previous
From: "Clark, Joel"
Date:
Subject: RE: PG on a web-server...issues..and some general qu estions on PG deployment
Next
From: Peter Eisentraut
Date:
Subject: Re: ODBC on Solaris