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

Re: odbc and mac os x

From: Ray Aspeitia <aspeitia(at)sells(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Cc: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
Subject: Re: odbc and mac os x
Date: 2004-04-05 13:13:19
Message-ID: p06002000bc970a170ea6@[] (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
>I all the discussions of working with the odbc
>release, if anyone can help with creating
>documentation on how to compile for OS X, it would
>really help.
>I don't have the skill set to figure out what the
>problem is and am at a loss. I did recieve a binary
>from someone so I know it works, but for the life of
>me I have not been able to compile it.
>I have posted about the problem before but never got

Not sure what your problem is exactly but the following compile 
options work for me for psqlodbc-7.2.5 on OSX Server 10.3.x. There 
are two files that don't normally exist, that you must create, 
/Library/ODBC/odbc.ini, /Library/ODBC/odbcinst.ini

./configure --enable-pthreads --with-iodbc
sudo make install

note create the following files in the locations shown after 
installing the psqlodbc driver
if they already exist, just add the contents as necessary

Trace         = 0
TraceAutoStop = 0
TraceFile     =
TraceLibrary  =

[ODBC Data Sources]
PostgreSQL_DSN_name = PostgreSQL

Driver      = /usr/local/lib/
Description = Some DB description
Database    = my_db_name
Servername  = localhost

[ODBC Drivers]
PostgreSQL = Installed

[ODBC Connection Pooling]
PerfMon    = 0

Driver  = /usr/local/lib/
Debug   = 0
CommLog = 1

In response to


pgsql-odbc by date

Next:From: Dave PageDate: 2004-04-05 13:20:50
Subject: Re: odbc and mac os x
Previous:From: Dave PageDate: 2004-04-05 13:08:09
Subject: Re: invalid input syntax for type tid: '(,)'

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