Bug in SQLColumns() and SQLTables() with "Parse Statement". - Mailing list pgsql-odbc

From TANIDA Yutaka
Subject Bug in SQLColumns() and SQLTables() with "Parse Statement".
Date
Msg-id 20031107165801.EA8C.TANIDA@sra.co.jp
Whole thread Raw
List 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>

Attachment

pgsql-odbc by date:

Previous
From: "Philippe Lang"
Date:
Subject: Re: Access, pass-through queries and isolation level
Next
From: Theodore Petrosky
Date:
Subject: Re: help with OSX make problem