SQLNumResultCol set to 0 for query using common table expression - broken again

From: the6campbells <the6campbells(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: SQLNumResultCol set to 0 for query using common table expression - broken again
Date: 2010-10-27 12:47:33
Message-ID: AANLkTind0FLG+s2-3WETbroryj3R=Hh5r+zs9z668b58@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

This is issue was reported previously and fixed in 8.4.0101 but see it in
the 9.0 driver.

with t_cte ( cte1,cte2,cte3 ) as ( select tset1.rnum, tset1.c1, tset1.c2
from tset1 ) select * from t_cte

SQLPrepare:
In: StatementHandle = 0x00841B38, StatementText = "with t_cte (
cte1,cte2,cte3 ) as ( select tset1.rn...", TextLength = 105
Return: SQL_SUCCESS=0
SQLNumResultCols:
In: StatementHandle = 0x00841B38, ColumnCountPtr = 0x00095428
Return: SQL_SUCCESS=0
Out: *ColumnCountPtr = 0

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message the6campbells 2010-10-27 15:32:27 Re: SQLNumResultCol set to 0 for query using common table expression - broken again
Previous Message the6campbells 2010-10-26 23:08:29 9.0.01 ODBC driver return values changed for sqlGetTypeInfo