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 835409FB1DC for ; Mon, 1 May 2006 15:36:54 -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 58120-03-3 for ; Mon, 1 May 2006 15:36:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id 236429FB1BF for ; Mon, 1 May 2006 15:36:35 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1FadG60BAC-0000d4; Mon, 01 May 2006 20:36:34 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1FadG5-00060m-00 for pgsql-sql@postgresql.org; Mon, 01 May 2006 20:36:33 +0200 Date: Mon, 1 May 2006 20:36:33 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: Counting the rows INSERTed/UPDATEd? Message-ID: <20060501183631.GA22990@webserv.wug-glas.de> Mail-Followup-To: "A. Kretschmer" , pgsql-sql@postgresql.org References: <1146499637.8508.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1146499637.8508.1.camel@localhost.localdomain> X-DEST: 208 X-MSMail-Priority: High X-Message-Flag: Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect. (Linus Torvalds) X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org User-Agent: mutt-ng 1.5.9i (Linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/9 X-Sequence-Number: 25040 am 01.05.2006, um 18:07:17 +0200 mailte Mario Splivalo folgendes: > 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, http://www.postgresql.org/docs/8.1/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS GET DIAGNOSTICS integer_var = ROW_COUNT; HTH, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net === Schollglas Unternehmensgruppe ===