Finding number of updated rows in pl/pgsql - Mailing list pgsql-sql

From Aaron Sethman
Subject Finding number of updated rows in pl/pgsql
Date
Msg-id Pine.LNX.4.21.0006051705220.24685-100000@squeaker.ratbox.org
Whole thread Raw
List pgsql-sql
Is there any easy way to find out the number of rows updated by a update
or insert statement in pl/pgsql? I searched the mailing list archives and
didn't come up with anything.  Oh and BTW doing an insert/update combined
with select following won't exactly work as it is possible for this table
to have duplicated data in it.

Thanks,

Aaron



pgsql-sql by date:

Previous
From: Michael Fork
Date:
Subject: Index Scans
Next
From: "Chris Martin"
Date:
Subject: nested sub-select ?