From: | Emmanuel Charpentier <charpent(at)bacbuc(dot)dyndns(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org(dot)pgsql-odbc(at)postgresql(dot)org |
Cc: | nick(at)easysoft(dot)com, nick(at)lurcher(dot)org |
Subject: | ODBC protocol changes in 7.1 ? And to pgaccess ? |
Date: | 2001-02-07 08:14:25 |
Message-ID: | 3A8103E1.2EDFE29@bacbuc.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I have a problem with 7.1 beta 4
Setup :
Debian 2.3(?) (unstable)
Kernel 2.18pre23 (the stock Debian kernel)
PostgreSQL 7.1beta4 as packaged for Debian by Oliver Elphick
unixODBC 2.0.3 compiled from unixODBC.org's sources against the installed and
working PG 7.1b4.
The problem is that an ODBC connection (from StarOffice or unixODBC's
Datamanager tool) is correctly opened, but no tables show up.
This problem seems limited : the ODBC driver has some function, as proved by
an attempt to use the RODBC package of the R statistical program :
> ch1<-odbcConnect("Essai1","XXXXXXXX","XXXXXXXX") -- username and password masked
> sqlTables(ch1)
[1] -1 -- That means "error". However :
> sqlQuery(ch1,"select * from tablea;") -- send a query absed on previous knowledge
keya val -- Result is OK.
1 1 Prem's
2 2 Deuz
3 3 Troiz
Warning message: -- Not unusual when reading text fields with RODBC.
a column has been truncated in: sqlGetResults(channel, errors = errors, ...)
> odbcClose(ch1)
[1] 1
So my question is : what has changed in the protocol ?
And, BTW : what has happened to pgaccess ? Views doesn't show up, while psql
sees them.
--
Emmanuel Charpentier
From | Date | Subject | |
---|---|---|---|
Next Message | Peter T Mount | 2001-02-07 08:37:48 | Re: using the same connection? |
Previous Message | Ed Loehr | 2001-02-07 06:57:20 | Off-topic: usenet sources? |