Re: Row Count - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: Row Count
Date
Msg-id 20050223165158.GA27442@winnie.fuhr.org
Whole thread Raw
In response to Row Count  (sreejith s <getsreejith@gmail.com>)
List pgsql-sql
On Wed, Feb 23, 2005 at 09:48:29PM +0530, sreejith s wrote:

> How get Row count in a plpgsql fuction after executing update or
> delete query to determine no. of rows affected.

See "Obtaining the Result Status" in the PL/pgSQL documentation.

http://www.postgresql.org/docs/8.0/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: sreejith s
Date:
Subject: Row Count
Next
From: Bruno Wolff III
Date:
Subject: Re: VIEW / ORDER BY + UNION