X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 07EA7475F1B for ; Fri, 11 Apr 2003 20:58:15 -0400 (EDT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 9012B475EDF for ; Fri, 11 Apr 2003 20:58:13 -0400 (EDT) Received: (qmail 8504 invoked from network); 12 Apr 2003 00:58:16 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 12 Apr 2003 00:58:16 -0000 Received: from unknown (HELO mcadnote1) (219.61.40.102) by sd.tpf.co.jp with SMTP; 12 Apr 2003 00:58:16 -0000 From: "Hiroshi Inoue" To: "Wayne Armstrong" Cc: Subject: Re: SQLColumns, SQLTables where fails depending on row cache size Date: Sat, 12 Apr 2003 10:01:45 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <200304100321.h3A3LTdv021841@mail.bacchus.com.au> Importance: Normal X-Spam-Status: No, hits=-17.9 required=5.0 tests=BAYES_10,IN_REP_TO,MSGID_GOOD_EXCHANGE,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/38 X-Sequence-Number: 2840 > -----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