/*
 * call-seq:
 *    conn.reset()
 *
 * Resets the backend connection. This method closes the backend  connection and tries to re-connect.
 */
static VALUE
pgconn_reset(obj)
  VALUE obj;
{
  PQreset(get_pgconn(obj));
  return obj;
}