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