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

unixODBC + PostgreSQL 6.5.1

From: Jan Dittberner <jan(at)jan-dittberner(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: unixODBC + PostgreSQL 6.5.1
Date: 1999-10-15 08:33:44
Message-ID: 3806E6E8.C9A01DEE@jan-dittberner.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hello,

I tried to use unixODBC to connect to a PostgreSQL 6.5.1 DB via
StarOffice. I couldn't successfully configure odbcinst.ini or
odbc.ini. I started isql which failed with the following message:

[jd9(at)jan jd9]$ isql template1
[ISQL]ERROR: Could not SQLConnect                                               

There are two obscure entries in the logfile:

[ODBC][22911][SQLConnect.c][1378]
                Exit:[SQL_ERROR]
[ODBC][22911][SQLFreeHandle.c][174]
                Entry:
                        Handle Type = 2
                        Input Handle = 0x804c5d8

I used the attached .ini files.

Can someone help?

Jan
-- 
  \___________________________________________________________
Jan Dittberner
Technical University Dresden - department of computer science
--------------------------------------------------------------
mail: jan(at)jan-dittberner(dot)de
==============================================================

Attachment: odbcinst.ini
Description: text/plain (157 bytes)
Attachment: odbc.ini
Description: text/plain (646 bytes)

Responses

pgsql-interfaces by date

Next:From: Ibrahim ShaameDate: 1999-10-15 09:08:11
Subject: ecpg - example code
Previous:From: Clark C. EvansDate: 1999-10-15 01:48:58
Subject: Re: [INTERFACES] pgbash-1.1.1 release

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