/*TODO * call-seq: * conn.connect_poll() -> Fixnum * * */ static VALUE pgconn_connect_poll(VALUE self) { PostgresPollingStatusType status; status = PQconnectPoll(get_pgconn(self)); return INT2FIX((int)status); }