Getting Affected Rows by UPDATE statement in RAW plpgsql Getting Affected Rows by UPDATE statement in RAW plpgsql postgresql postgresql