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

Re: SQLColumns, SQLTables where fails depending on row cache size

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Wayne Armstrong" <wdarmst(at)bacchus(dot)com(dot)au>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: SQLColumns, SQLTables where fails depending on row cache size
Date: 2003-04-12 01:01:45
Message-ID: EKEJJICOHDIEMGPNIFIJKEKCLDAA.Inoue@tpf.co.jp (view raw or flat)
Thread:
Lists: 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


In response to

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2003-04-12 04:15:33
Subject: Re: continuing problems with sqlsetpos & syncing postgresql to a mobile database
Previous:From: Hollysugar WebmasterDate: 2003-04-11 18:06:59
Subject: Re: syncing postgresql to a mobile database Works

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