/* * call-seq: * conn.options() * * Returns backend option string. */ static VALUE pgconn_options(obj) VALUE obj; { char *options = PQoptions(get_pgconn(obj)); if (!options) return Qnil; return rb_tainted_str_new2(options); }