Re: How to configure iodbc access to local postgres db?

From: Rob Yampolsky <rob(dot)yampolsky(at)encodasystems(dot)com>
To: pgsql-general(at)postgresql(dot)org(dot)pgsql-odbc(at)postgresql(dot)org
Subject: Re: How to configure iodbc access to local postgres db?
Date: 2001-04-23 20:37:44
Message-ID: 3AE49298.DF98A63D@encodasystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc pgsql-ports

Told you it was something stupid. Turns out I was using the wrong
Postgres ODBC driver. My MDK 7.2 installation had 2 things that looked
like the driver.

/usr/lib/libpsqlodbc.so
and
/usr/lib/libodbcpsql.so

The correct one seems to be libodbcpsql

I had tried both, and originally using libodbcpsql caused a segmentation
violation, so I had been concentrating my efforts on the other one.

Well, I ended up following the setup instructions in the unixODBC package
documentation to get it working under that package. Once it worked
there, I was able to get it working with libiodbc (which my application
was using).

Hint- it wants you to specify a UserName in .odbc.ini (you'd think it
would default to the 'current user').

Thanks for listening,
Rob

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Antonio Gennarini - Geotronix 2001-04-23 20:47:15 Generating reports with LaTex from PgSQL db?
Previous Message Fran Fabrizio 2001-04-23 20:30:43 installing DBD::Pg without installing postgres

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-04-23 23:54:13 Re: ODBC on cygwin/NT Postgres 7.1
Previous Message lbottorff 2001-04-23 18:16:54 ODBC on cygwin/NT Postgres 7.1

Browse pgsql-ports by date

  From Date Subject
Next Message Andy Samuel 2001-04-23 21:26:50 Mandrake 7.2 / 8.0 RPM ?
Previous Message Jason Tishler 2001-04-23 17:04:18 Re: [PORTS] connect on cygwin - v7.0