/* * call-seq: * conn.status() * * MISSING: documentation */ static VALUE pgconn_status(obj) VALUE obj; { int status = PQstatus(get_pgconn(obj)); return INT2NUM(status); }