From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: TANIDA Yutaka <tanida@sra.co.jp>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Bug in SQLColumns() and SQLTables() with "Parse Statement".
Date: Mon, 10 Nov 2003 16:15:50 +0900
Message-ID: <3FAF3B26.1FE0506E@tpf.co.jp> (raw)
References: <20031107165801.EA8C.TANIDA@sra.co.jp>
TANIDA Yutaka wrote:
>
> Hi,
>
> I got a strange result when executing SQLColumns and SQLTables.
>
> 1. "Parse Statement" option turns on.
> 2. Connect to PostgreSQL by ODBC Driver.
> 3. Execute simple select statement by SQLExecDirect().
> 4. Execute SQLColumns().
> 5. Check all columns. It's same as select result of 3.
>
> Attached C program will reproduce this problem .If this option turns on ,
> You can see SQLNumResultCols() returns invalid column informations.
>
> Output of "Parse Statement" off.
> --
> 20
> 20
>
> Output of "Parse Statement" on.
> --
> 20
> 1
I've just committed a change to fix the above bug.
Please try the current CVS source or the latest snapshot dll at
http://www.geocities.jp/inocchichichi/psqlodbc/ .
Thanks.
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
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, tanida@sra.co.jp
Subject: Re: Bug in SQLColumns() and SQLTables() with "Parse Statement".
In-Reply-To: <3FAF3B26.1FE0506E@tpf.co.jp>
References: <20031107165801.EA8C.TANIDA@sra.co.jp> <3FAF3B26.1FE0506E@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