/* * call-seq: * conn.reset_poll -> Fixnum * * Checks the status of a connection reset operation. * See PGconn#connect_start and PGconn#connect_poll for * usage information and return values. */ static VALUE pgconn_reset_poll(VALUE self) { PostgresPollingStatusType status; status = PQresetPoll(get_pgconn(self)); return INT2FIX((int)status); }