Skip site navigation (1) Skip section navigation (2)

Re: PsqlODBC problem with complex query

From: Zoltan Boszormenyi <zboszor(at)dunaweb(dot)hu>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: PsqlODBC problem with complex query
Date: 2005-05-17 22:26:48
Message-ID: 428A6FA8.9050109@dunaweb.hu (view raw or flat)
Thread:
Lists: pgsql-odbc
Zoltan Boszormenyi írta:
>> The report is correct with both unixODBC PostgreSQL drivers but
>> contains garbage when used with the official psqlodbc drivers.
> 
> 
> The "garbage" needs to be clarified. RLIB gets every field as strings
> using SQLDescribeCol(). It cannot fetch the result row(s) and the
> strings aren't memset()ed in advance.

It's getting too late. I meant SQLGetData().
It uses SQLDescribeCol() internally so it knows the field names
and they can be referenced later.

Best regards,
Zoltán Böszörményi

In response to

pgsql-odbc by date

Next:From: Peter BenseDate: 2005-05-18 17:29:09
Subject: Re: My MS-Access problem keeps getting weirder and
Previous:From: Zoltan BoszormenyiDate: 2005-05-17 22:20:24
Subject: Re: PsqlODBC problem with complex query

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group