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