pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: sreejith s <getsreejith@gmail.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-sql-owner@postgresql.org
Subject: Re: Row Count
Date: Wed, 23 Feb 2005 09:51:58 -0700
Message-ID: <20050223165158.GA27442@winnie.fuhr.org> (raw)
In-Reply-To: <5d14ecf90502230818574326d9@mail.gmail.com>
References: <5d14ecf90502230818574326d9@mail.gmail.com>

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/



view thread (2+ messages)

Message-ID: <20050223165158.GA27442@winnie.fuhr.org>
Permalink:  ../20050223165158.GA27442@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050223165158.GA27442@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, getsreejith@gmail.com, pgsql-sql-owner@postgresql.org
  Subject: Re: Row Count
  In-Reply-To: <20050223165158.GA27442@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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