posstgres error handling: RowsAffected is nil if err != nil