pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedBug in SQLColumns() and SQLTables() with "Parse Statement".
3+ messages / 2 participants
[nested] [flat]
* Bug in SQLColumns() and SQLTables() with "Parse Statement".
@ 2003-11-07 08:45 TANIDA Yutaka <tanida@sra.co.jp>
0 siblings, 1 reply; 3+ messages in thread
From: TANIDA Yutaka @ 2003-11-07 08:45 UTC (permalink / raw)
To: pgsql-odbc
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
--
TANIDA Yutaka <tanida@sra.co.jp>
Attachments:
columns2.c (application/octet-stream, 1.5K) download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Bug in SQLColumns() and SQLTables() with "Parse Statement".
@ 2003-11-10 07:15 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: TANIDA Yutaka <tanida@sra.co.jp>
0 siblings, 1 reply; 3+ messages in thread
From: Hiroshi Inoue @ 2003-11-10 07:15 UTC (permalink / raw)
To: TANIDA Yutaka <tanida@sra.co.jp>; +Cc: pgsql-odbc
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/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Bug in SQLColumns() and SQLTables() with "Parse Statement".
@ 2003-11-10 07:28 TANIDA Yutaka <tanida@sra.co.jp>
parent: Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 0 replies; 3+ messages in thread
From: TANIDA Yutaka @ 2003-11-10 07:28 UTC (permalink / raw)
To: Hiroshi Inoue <Inoue@tpf.co.jp>; +Cc: pgsql-odbc
Hiroshi,
On Mon, 10 Nov 2003 16:15:50 +0900
Hiroshi Inoue <Inoue@tpf.co.jp> wrote:
> 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/ .
I comfirm it. Thanks.
--
TANIDA Yutaka <tanida@sra.co.jp>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-11-10 07:28 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07 08:45 Bug in SQLColumns() and SQLTables() with "Parse Statement". TANIDA Yutaka <tanida@sra.co.jp>
2003-11-10 07:15 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2003-11-10 07:28 ` TANIDA Yutaka <tanida@sra.co.jp>
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