X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D0FA09FB350 for ; Fri, 11 Aug 2006 03:37:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 50742-04 for ; Fri, 11 Aug 2006 03:37:32 -0300 (ADT) X-Greylist: delayed 00:06:38.838667 by SQLgrey- Received: from sd.tpf.co.jp (smtp.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 6CBD39FB334 for ; Fri, 11 Aug 2006 03:37:31 -0300 (ADT) Received: (qmail 31718 invoked from network); 11 Aug 2006 15:30:48 +0900 Received: from unknown (HELO ?100.0.32.123?) (100.0.32.123) by sd2.tpf-fw-c.co.jp with SMTP; 11 Aug 2006 15:30:48 +0900 Message-ID: <44DC23FE.2060801@tpf.co.jp> Date: Fri, 11 Aug 2006 15:30:22 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Pascal Viandier CC: pgsql-odbc@postgresql.org Subject: Re: RE : Cannot update or delete rows References: <006901c6b710$bd6a0700$270210ac@windows.accovia.com> In-Reply-To: <006901c6b710$bd6a0700$270210ac@windows.accovia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/39 X-Sequence-Number: 8003 Pascal Viandier wrote: > Hi Luf, > >> -----Message d'origine----- >> De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] >> De la part de Ludek Finstrle >> Envoyé : July 31, 2006 00:05 >> À : Pascal Viandier >> Cc : pgsql-odbc@postgresql.org >> Objet : Re: [ODBC] Cannot update or delete rows >> >>> I use PostgreSQL 8.1.4 and psqlodbc-08.01.0200. >> I'm sorry but psqlodbc-08.01.XXXX doesn't support such feature >> (updateable cursor). I know there is no info about it. But 08.01 >> uses libpq for communication with server and there are some >> breakage in updateable code. >> >> Please try latest CVS from pgfoundry.org. It should do what you want. >> > I just tried the CVS release (psqlodbc-08.02.0002). > It is a lot better: SQLSetPos() does not return the previous error for update or > delete but it still does not work. > The update returns: > SQLSTATE: 07005 > NATIVE CODE: 15 > MESSAGE: update list null Are you updating any columns of the row ? > The delete returns: > SQLSTATE: 42601 > NATIVE CODE: 7 > MESSAGE: syntax error at or near "where"; Please try the dll at http://www.geocities.jp/inocchichichi/psqlodbc/index.html ? regards, Hiroshi Inoue