X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 35F0EDAE8F for ; Wed, 26 Oct 2005 11:08:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32491-03 for ; Wed, 26 Oct 2005 14:08:20 +0000 (GMT) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by svr1.postgresql.org (Postfix) with ESMTP id 63B27DAE88 for ; Wed, 26 Oct 2005 11:08:22 -0300 (ADT) Received: by xproxy.gmail.com with SMTP id s14so289991wxc for ; Wed, 26 Oct 2005 07:08:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ajk3C8hurLZScYkXdgABsVOomAmrUa+Qkbz52DvSILByafYj3oC6juLjsEkn7EpMYyVgunzzPTuUyZpiLurcUqutOuRRw9Hc1cbrwgkKNO9WC+FuAWVfcv9qkXUwIjH/IlspkebgXlBlQzNkP/BqxgZIkV0Vjay64yfPiddCyFw= Received: by 10.65.156.5 with SMTP id i5mr647766qbo; Wed, 26 Oct 2005 07:08:26 -0700 (PDT) Received: by 10.65.115.2 with HTTP; Wed, 26 Oct 2005 07:08:26 -0700 (PDT) Message-ID: <7104a7370510260708h34180ba7ud2f4010bffa35ffe@mail.gmail.com> Date: Wed, 26 Oct 2005 17:08:26 +0300 From: Volkan YAZICI To: Louis Castoria Subject: Re: libpq status question Cc: pgsql-interfaces@postgresql.org In-Reply-To: <435E65A1.7030907@e9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <435E65A1.7030907@e9.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 required=5 tests=[RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200510/28 X-Sequence-Number: 5790 Hi, On 10/25/05, Louis Castoria wrote: > How can I tell if the update was successfully or not. You can use PQcmdTuples() function to learn the number of rows affected by the SQL command. Regards.