pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSQLColumns, SQLTables where fails depending on row cache size
2+ messages / 2 participants
[nested] [flat]
* SQLColumns, SQLTables where fails depending on row cache size
@ 2003-04-10 03:19 Wayne Armstrong <wdarmst@bacchus.com.au>
0 siblings, 1 reply; 2+ messages in thread
From: Wayne Armstrong @ 2003-04-10 03:19 UTC (permalink / raw)
To: ; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: SQLColumns, SQLTables where fails depending on row cache size
@ 2003-04-12 01:01 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Wayne Armstrong <wdarmst@bacchus.com.au>
0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Inoue @ 2003-04-12 01:01 UTC (permalink / raw)
To: Wayne Armstrong <wdarmst@bacchus.com.au>; +Cc: pgsql-odbc
> -----Original Message-----
> From: Wayne Armstrong
>
> 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.
Could you send me the debug logs ?
regards,
Hiroshi Inoue
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-04-12 01:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-10 03:19 SQLColumns, SQLTables where fails depending on row cache size Wayne Armstrong <wdarmst@bacchus.com.au>
2003-04-12 01:01 ` Hiroshi Inoue <Inoue@tpf.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox