Maybe this will be helpfull:
http://www.postgresql.org/docs/8.3/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS
Regards,
Blazej Oleszkiewicz
2008/9/4 Artacus <artacus(at)comcast(dot)net>:
> I'm writing some ETL procedures in pgplsql. After each insert/update/delete,
> I'd like to log how many rows were affected.
>
> I'm not finding anything on Google. Does anyone know how to get this?
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>