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

pgsql/src/interfaces/odbc gpps.c

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/odbc gpps.c
Date: 2001-06-12 15:14:47
Message-ID: 200106121514.f5CFElW97625@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	momjian(at)hub(dot)org	01/06/12 11:14:47

Modified files:
	src/interfaces/odbc: gpps.c 

Log message:
	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


pgsql-committers by date

Next:From: Bruce Momjian - CVSDate: 2001-06-12 15:58:35
Subject: pgsql/src backend/utils/adt/acl.c include/cata ...
Previous:From: Bruce Momjian - CVSDate: 2001-06-12 14:50:24
Subject: pgsql/doc TODO

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