pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Giuliano Gavazzi <dev+pgsql@humph.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlodbc and SQLFetch after SQLTables gives SQL_NO_DATA_FOUND
Date: Tue, 11 Feb 2003 00:24:48 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <a05210206ba6d66a8c0ef@[10.0.1.17]>

> -----Original Message-----
> From: Giuliano Gavazzi [mailto:dev+pgsql@humph.com]
>
> At 16:02 +0900 2003/02/10, Hiroshi Inoue wrote:
> [...]
> >  > Now I have enabled tracing and found where the failure is. Apparently
> >>  MSQ uses SQLFetch just after SQLTables to get the table list, this
> >  > SQLFetch fails by returning SQL_NO_DATA_FOUND. Here I have two
> >>  snippets from the traces of MSQ retrieving tables first using
> >>  OpenLink Postgres Lite driver (that succeeds) and then using psqlodbc
> >>  (that fails):
> >>
> >>  1) openlink driver:
> >>
> >>  iODBC[Microsoft Query]  ThID:A0000DEC  ENTER SQLTables
> >>
> >>  iODBC[Microsoft Query]  ThID:A0000DEC  EXIT  SQLTables  with return
> >>  code 0 (SQL_SUCCESS)
> >>
> >>  Microsoft Query  ThID:A0000DEC  EXIT  SQLTables  with return code 0
> >>  (SQL_SUCCESS)
> >>             HSTMT         0x01619a00
> >>             CHAR*         00000000 "..."
> >>             SMALLINT      -3536
> >>             CHAR*         00000000 "..."
> >>             SMALLINT      -18992
> >>             CHAR*         00000000 "..."
> >>             SMALLINT      15056
> >>             CHAR*         0x001c3fd8 "Table"
> >
> >Hmm, if it is "TABLE", it seems to work.
> >OK I would change the driver to be insenitive about
> >it.
> >
>
> Hi Hiroshi, sorry but I do not understand. In both cases (the working
> one and the not working one) it is "Table". What seems to change is
> the way the client application retrieves the data.  I have now enable
> debug and repeated the test, may I send you the output?
>
> Where would I change the source anyway? In info.c?

I've just committed a change to cvs(info.c).
Please try it.

regards,
Hiroshi Inoue




view thread (5+ messages)  latest in thread

Message-ID: <EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, dev+pgsql@humph.com
  Subject: Re: psqlodbc and SQLFetch after SQLTables gives SQL_NO_DATA_FOUND
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp>
  References: <a05210206ba6d66a8c0ef@[10.0.1.17]> <EKEJJICOHDIEMGPNIFIJGEMJKJAA.Inoue@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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