pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Witham <davidw@unidial.com.au>
To: pgsql-sql@postgresql.org
Subject: Number of rows affected by an update
Date: Wed, 19 Mar 2003 15:42:45 +1100
Message-ID: <CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com> (raw)

Hi,

Is there a way of capturing how many rows a select, delete or update affect from within a PL/pgSQL function?

Thanks,

David Witham
Unidial




view thread (2+ messages)  latest in thread

Message-ID: <CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com>
Permalink:  ../CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com/
Also on:    postgresql.org/message-id/CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: davidw@unidial.com.au
  Subject: Re: Number of rows affected by an update
  In-Reply-To: <CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com>
  References: <CFA248776934FD43847E740E43C346D1379676@ozimelb03.ozicom.com>

* 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