/* * call-seq: * res.res_status( status ) -> String * * Returns the string representation of status +status+. * */ static VALUE pgresult_res_status(VALUE self, VALUE status) { return rb_tainted_str_new2(PQresStatus(NUM2INT(status))); }