From: TANIDA Yutaka <tanida@sra.co.jp>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Bug in SQLColumns() and SQLTables() with "Parse Statement".
Date: Fri, 07 Nov 2003 17:45:25 +0900
Message-ID: <20031107165801.EA8C.TANIDA@sra.co.jp> (raw)
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
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: tanida@sra.co.jp
Subject: Re: Bug in SQLColumns() and SQLTables() with "Parse Statement".
In-Reply-To: <20031107165801.EA8C.TANIDA@sra.co.jp>
References: <20031107165801.EA8C.TANIDA@sra.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