Thread: Finding number of updated rows in pl/pgsql

Finding number of updated rows in pl/pgsql

From
Aaron Sethman
Date:
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