diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-06-12 15:14:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-06-12 15:14:47 +0000 |
commit | 13a52c1f0345c1b86b2bf43d766851a6ab852934 (patch) | |
tree | 5188e9c6770c85983088d9dc4bb6ce0440ff9c25 /src/backend/tcop/postgres.c | |
parent | 55abc36e151f1b0b897cd6ad757059ac4c8cb798 (diff) | |
download | postgresql-13a52c1f0345c1b86b2bf43d766851a6ab852934.tar.gz postgresql-13a52c1f0345c1b86b2bf43d766851a6ab852934.zip |
I installed postgres 7.1 with --enable-odbc. I then installed
tclodbc (http://sourceforge.net/projects/tclodbc) and libiodbc-2.50.3
(http://www.iodbc.org/dist/libiodbc-2.50.3.tar.gz). I could not
get either to work... postgres would not find the global odbcinst.ini
file. I traced this to src/interfaces/odbc/gpps.c -- here are the
many things I think are wrong:
Run tclodbc and do a ``database db <DSNname>'' where ``DSNname'' is
one of the DSN's in /usr/local/etc/odbcinst.ini (or wherever the
global ini file is installed.) The result is always the error
message that ``one of server,port,database,etc. are missing''.
Run libiodbc-2.50.3/samples/odbctest <DSNname>. The command fails
to connect to the database and just exits.
Dave Bodenstab
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions