/*
 * call-seq:
 *    res.cmdstatus()
 *
 * Returns the status string of the last query command.
 */
static VALUE
pgresult_cmdstatus(obj)
  VALUE obj;
{
  return rb_tainted_str_new2(PQcmdStatus(get_pgresult(obj)));
}