/*
 * call-seq:
 *    conn.is_busy() -> Boolean
 *
 * Returns +true+ if a command is busy, that is, if
 * PQgetResult would block. Otherwise returns +false+.
 */
static VALUE
pgconn_is_busy(self)
    VALUE self;
{
    return PQisBusy(get_pgconn(self)) ? Qtrue : Qfalse;
}