Hi,
Is there a way of capturing how many rows a select, delete or update affect from within a PL/pgSQL function?
Read Postgres documentation. 19.5.5. Obtaining result status
GET DIAGNOSTICS var_integer = ROW_COUNT;
Regards, Tomasz Myrta
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org