This adds an affected_rows() method to the Postgres module, which should behave just like the Mysql affected_rows() method. Also, should both of these methods have wrappers in the Sql.Mysql and Sql.Postgres modules so you don't need to call db->master_sql->affected_rows()?
Adam