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?