X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1B228D1B189 for ; Mon, 31 May 2004 14:19:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 42476-02 for ; Mon, 31 May 2004 14:19:20 -0300 (ADT) Received: from orzan.fi.udc.es (orzan.fi.udc.es [193.144.60.19]) by svr1.postgresql.org (Postfix) with ESMTP id BA3FBD1CCD5 for ; Mon, 31 May 2004 14:19:17 -0300 (ADT) Received: from anakin.lfcia.pri (laforge.dc.fi.udc.es [193.144.51.213]) by orzan.fi.udc.es (8.12.10/8.11.1) with ESMTP id i4VHJHHr014835 for ; Mon, 31 May 2004 19:19:17 +0200 (MEST) Received: from carlos by anakin.lfcia.pri with local (Exim 3.36 #1 (Debian)) id 1BUqRQ-00081U-00 for ; Mon, 31 May 2004 19:19:16 +0200 Date: Mon, 31 May 2004 19:19:16 +0200 From: Carlos Abalde To: pgsql-odbc@postgresql.org Subject: Help with DELETE statement via ODBC Message-ID: <20040531171916.GA30749@lfcia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://www.lfcia.org/~carlos/pubkey.asc Organization: LFCIA Lab X-Operating-System: Linux 2.4.20-xfs i686 User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/10 X-Sequence-Number: 4080 Hi! I've been all the day fighting against a DB access poblem, and I'm sure that the problem is related with the ODBC postgresql driver, but I don't know how to solve it. The problem is that when I execute a DELETE stament over a indetifier not found in a table, the driver returns an error instead of a counter with 0 rows affected. I'm using the last version of the driver. Any idea? Best regards, +---.---.---.---.---.---.---.---.---+---.---.---.---.---.---.---.---+ | Carlos Abalde (carlos@lfcia.org) | http://www.lfcia.org/~carlos | + LFCIA Lab, Dept. Computer Science | +34.981.167000 ext. 1275 + | University of A Coruna, Spain | PGP Key ID = 0x04DF0EAF | +-.---.---.---.---.---.---.---.---.-+-.---.---.---.---.---.---.---.-+