On Thu, Sep 04, 2008 at 02:07:01AM -0700, Artacus wrote: > I'm writing some ETL procedures in pgplsql. After each > insert/update/delete, I'd like to log how many rows were affected. http://www.postgresql.org/docs/current/interactive/plpgsql-statements.html search for "GET DIAGNOSTICS" Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@xxxxxxxxxx / aim:depeszhdl / skype:depesz_hdl / gg:6749007