pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Row Count
2+ messages / 2 participants
[nested] [flat]

* Row Count
@ 2005-02-23 16:18 sreejith s <getsreejith@gmail.com>
  2005-02-23 16:51 ` Re: Row Count Michael Fuhr <mike@fuhr.org>
  0 siblings, 1 reply; 2+ messages in thread

From: sreejith s @ 2005-02-23 16:18 UTC (permalink / raw)
  To: pgsql-sql; pgsql-sql-owner@postgresql.org

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

Sreejith



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Row Count
  2005-02-23 16:18 Row Count sreejith s <getsreejith@gmail.com>
@ 2005-02-23 16:51 ` Michael Fuhr <mike@fuhr.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Fuhr @ 2005-02-23 16:51 UTC (permalink / raw)
  To: sreejith s <getsreejith@gmail.com>; +Cc: pgsql-sql; pgsql-sql-owner@postgresql.org

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-02-23 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 16:18 Row Count sreejith s <getsreejith@gmail.com>
2005-02-23 16:51 ` Michael Fuhr <mike@fuhr.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox