Received: from clubserv.rp-online.de (clubserv.rp-online.de [149.221.232.11]) by hub.org (8.9.2/8.9.1) with ESMTP id CAA31657 for ; Sun, 7 Mar 1999 02:59:24 -0500 (EST) (envelope-from Michael.Meskes@gmx.net) Received: from pc63.meskes.de (as11-asy3.rp-plus.de [149.221.93.131]) by clubserv.rp-online.de (8.9.1a/8.9.1) with ESMTP id IAA16520 for ; Sun, 7 Mar 1999 08:59:02 +0100 (MET) Received: (from meskes@localhost) by pc63.meskes.de (8.9.3/8.9.3/Debian/GNU) id NAA02506 for pgsql-interfaces@postgreSQL.org; Sat, 6 Mar 1999 13:54:32 +0100 Date: Sat, 6 Mar 1999 13:54:32 +0100 From: Michael Meskes To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Counting updates with libpq Message-ID: <19990306135432.A1858@gmx.net> Mail-Followup-To: pgsql-interfaces@postgreSQL.org References: <36E0005F.F7A92EF0@it.pl> <3024.920673406@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <3024.920673406@sss.pgh.pa.us>; from Tom Lane on Fri, Mar 05, 1999 at 05:36:46PM -0500 On Fri, Mar 05, 1999 at 05:36:46PM -0500, Tom Lane wrote: > Bartek Teodorczyk writes: > > Is it possible to get number of updated records using the PQexec command > > and processing the PQresult record? > > See PQcmdTuples() ... For ecpg I've beed using PQntuples(). Is it the same function? Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!