SQLColumns, SQLTables where fails depending on row cache size

From: "Wayne Armstrong" <wdarmst(at)bacchus(dot)com(dot)au>
To:
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: SQLColumns, SQLTables where fails depending on row cache size
Date: 2003-04-10 03:19:40
Message-ID: 200304100321.h3A3LTdv021841@mail.bacchus.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,
an SQLColumns or SQLTables request to the odbc driver will fail if the number
of columns(or tables) returned is a multiple of the row cache size and
use_declare_fetch is true.
The error returned is :-='Unrecognized return value from
copy_and_convert_field.'
This is returned because the driver has read 1 row past the end of the result,
and is trying to convert nulls.
I am using the 7.02.00.05 drivers.
I have read the source some, but can't actually see what needs changing (I am
not really a c programmer :). I have debug logs for this if anyone's
interested.

Regards,
Wayne

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Daniel F Garcia 2003-04-10 03:56:34 Connection to posgresql database works under windows scripting host but not IIS/ASP
Previous Message Dave Page 2003-04-09 16:25:22 Re: problems with sqlsetpos -->having odbc intercept alter command