pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wayne Armstrong <wdarmst@bacchus.com.au>
Cc: pgsql-odbc@postgresql.org
Subject: SQLColumns, SQLTables where fails depending on row cache size
Date: Thu, 10 Apr 2003 13:19:40 +1000
Message-ID: <200304100321.h3A3LTdv021841@mail.bacchus.com.au> (raw)
In-Reply-To: <03AF4E498C591348A42FC93DEA9661B8259F40@mail.vale-housing.co.uk>
References: <03AF4E498C591348A42FC93DEA9661B8259F40@mail.vale-housing.co.uk>

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




view thread (2+ messages)  latest in thread

Message-ID: <200304100321.h3A3LTdv021841@mail.bacchus.com.au>
Permalink:  ../200304100321.h3A3LTdv021841@mail.bacchus.com.au/
Also on:    postgresql.org/message-id/200304100321.h3A3LTdv021841@mail.bacchus.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: wdarmst@bacchus.com.au
  Subject: Re: SQLColumns, SQLTables where fails depending on row cache size
  In-Reply-To: <200304100321.h3A3LTdv021841@mail.bacchus.com.au>
  References: <03AF4E498C591348A42FC93DEA9661B8259F40@mail.vale-housing.co.uk> <200304100321.h3A3LTdv021841@mail.bacchus.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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