X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 74A219F969C for ; Mon, 1 May 2006 15:38:56 -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 53505-03 for ; Mon, 1 May 2006 15:38:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id D6B0E9F9586 for ; Mon, 1 May 2006 15:38:50 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FadI8-000245-SA for pgsql-sql@postgresql.org; Mon, 01 May 2006 20:38:40 +0200 Received: from 85.187.136.11 ([85.187.136.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 May 2006 20:38:40 +0200 Received: from milen by 85.187.136.11 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 May 2006 20:38:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: "Milen A. Radev" Subject: Re: Counting the rows INSERTed/UPDATEd? Date: Mon, 01 May 2006 21:38:40 +0300 Lines: 13 Message-ID: <445655B0.3090505@radev.net> References: <1146499637.8508.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 85.187.136.11 User-Agent: Mozilla Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: <1146499637.8508.1.camel@localhost.localdomain> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/10 X-Sequence-Number: 25041 Mario Splivalo написа: > I have found, I thinl, in the pg manual, the way to get the number of > rows inserted/updated, from within the plpgsql. I can't find it anymore, > is that still there, or I misread something earlier? > > Mario May be this one? http://www.postgresql.org/docs/8.1/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS -- Milen A. Radev