X-Original-To: pgsql-odbc@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 098F64758F1 for ; Thu, 3 Apr 2003 17:07:44 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id C3895474E44 for ; Thu, 3 Apr 2003 17:07:41 -0500 (EST) Received: (qmail 23272 invoked from network); 3 Apr 2003 22:07:42 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 3 Apr 2003 22:07:42 -0000 Received: from unknown (HELO PbgX) (219.61.40.14) by sd.tpf.co.jp with SMTP; 3 Apr 2003 22:07:42 -0000 From: "Hiroshi Inoue" To: "'Dave Page'" Cc: Subject: Re: SQLSetPos Date: Fri, 4 Apr 2003 07:07:41 +0900 Message-ID: <005601c2fa2d$72a20bd0$0e283ddb@PbgX> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-Reply-To: <03AF4E498C591348A42FC93DEA9661B8259EF8@mail.vale-housing.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Status: No, hits=-9.5 required=5.0 tests=BAYES_20,IN_REP_TO,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/14 X-Sequence-Number: 2816 > -----Original Message----- > From: Dave Page [mailto:dpage@vale-housing.co.uk] > > Hi Hiroshi, > > I've had a query about support for SQLSetPos(SQL_UPDATE) in psqlODBC. > Upon examination of the code there seems to be some there to handle > SQL_UPDATE, however the function exits with an error (Only > SQL_POSITION/REFRESH is supported for PGAPI_SetPos) before any of that > code is ever reached. > > Do you know if that's an oversight, or is the code that's there not > ready for use yet? You can use SQLSetPos(SQL_UPDATE) if you compiled the driver with DRIVER_CURSOR_IMPLEMENT #defined(the current makefile s in cvs already #define it) and turn on the *Updatable cursors* DSN option. regards, Hiroshi Inoue