pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedRESOLVED: odbc driver manager and postgresql odbc driver
2+ messages / 2 participants
[nested] [flat]
* RESOLVED: odbc driver manager and postgresql odbc driver
@ 2006-06-14 22:20 ricardd@mathstat.dal.ca
0 siblings, 1 reply; 2+ messages in thread
From: ricardd@mathstat.dal.ca @ 2006-06-14 22:20 UTC (permalink / raw)
To: Support for the unixODBC project <unixodbc-support@easysoft.com>; pgsql-odbc; +Cc: Joshua D. Drake <jd@commandprompt.com>
Success. Thanks Josh for the no-nonsense reply.
Basically, I didn't know the location of the appropriate libraries, and I
was confused about all the options available.
I now have the packages "unixodbc-bin" and "odbc-postgresql" installed.
The files /etc/odbc.in and /etc/odbcinst.ini are as follows:
[postgreodbc]
Description = PostgreSQL ODBC driver
Driver = /usr/lib/odbc/psqlodbc.so
Setup = /usr/lib/odbc/libodbcpsqlS.so
Debug = 0
CommLog = 1
UsageCount = 2
[gfsDB]
Description = PostgreSQL ODBC
Driver = postgreodbc
Trace = No
TraceFile =
Database = mydatabase
Servername = localhost
UserName = postgres
Password =
Port = 5432
Protocol = 7.0
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
ConnSettings =
A final question then, part of the original confusion. Where is the file
"/usr/lib/odbc/libodbcpsqlS.so" from? It doesn't seem to be from the
odbc-postgresql package:
ricardd@octopus:~$ dpkg -L odbc-postgresql
/.
/usr
/usr/lib
/usr/lib/postgresql
/usr/lib/postgresql/lib
/usr/lib/odbc
/usr/lib/odbc/psqlodbc.so
/usr/lib/odbc/psqlodbc.la
/usr/share
/usr/share/doc
/usr/share/doc/odbc-postgresql
/usr/share/doc/odbc-postgresql/docs
/usr/share/doc/odbc-postgresql/docs/howto-vb.html
/usr/share/doc/odbc-postgresql/docs/faq.html
/usr/share/doc/odbc-postgresql/docs/howto-accesslo.html
/usr/share/doc/odbc-postgresql/docs/howto-bo.html
/usr/share/doc/odbc-postgresql/docs/howto-ch.html
/usr/share/doc/odbc-postgresql/docs/index.html
/usr/share/doc/odbc-postgresql/docs/win32-compilation.html
/usr/share/doc/odbc-postgresql/docs/config.html
/usr/share/doc/odbc-postgresql/docs/howto-csharp.html
/usr/share/doc/odbc-postgresql/docs/howto-accessvba.html
/usr/share/doc/odbc-postgresql/docs/unix-compilation.html
/usr/share/doc/odbc-postgresql/docs/howto-vblo.html
/usr/share/doc/odbc-postgresql/README.Debian
/usr/share/doc/odbc-postgresql/copyright
/usr/share/doc/odbc-postgresql/examples
/usr/share/doc/odbc-postgresql/examples/odbc.ini.template
/usr/share/doc/odbc-postgresql/changelog.Debian.gz
/usr/share/psqlodbc
/usr/share/psqlodbc/odbcinst.ini.template
/usr/lib/postgresql/lib/psqlodbc.so
Thanks again.
Dan
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: RESOLVED: odbc driver manager and postgresql odbc driver
@ 2006-06-14 22:26 Joshua D. Drake <jd@commandprompt.com>
parent: ricardd@mathstat.dal.ca
0 siblings, 0 replies; 2+ messages in thread
From: Joshua D. Drake @ 2006-06-14 22:26 UTC (permalink / raw)
To: ricardd@mathstat.dal.ca; +Cc: Support for the unixODBC project <unixodbc-support@easysoft.com>; pgsql-odbc
> A final question then, part of the original confusion. Where is the file
> "/usr/lib/odbc/libodbcpsqlS.so" from? It doesn't seem to be from the
> odbc-postgresql package:
>
apt-file is your friend.
root@scratch:/usr/lib/odbc# apt-file search libodbcpsqlS.so
odbcinst1debian1: usr/lib/odbc/libodbcpsqlS.so
root@scratch:/usr/lib/odbc#
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-06-14 22:26 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-14 22:20 RESOLVED: odbc driver manager and postgresql odbc driver ricardd@mathstat.dal.ca
2006-06-14 22:26 ` Joshua D. Drake <jd@commandprompt.com>
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