pike.git / lib / modules / Sql.pmod / pgsql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1139:    .pgsql_util.Result portal;    portal = .pgsql_util.Result(proxy, c, q, portalbuffersize, _alltyped,    from, forcetext, timeout, syncparse, transtype);    portal._tprepared = tp;   #ifdef PG_STATS    portalsopened++;   #endif    proxy.clearmessage = 1;    // Do not run a query in the local_backend to prevent deadlocks    if (Thread.this_thread() == .pgsql_util.local_backend.executing_thread()) -  call_out(startquery, 0, forcetext, portal, q, tp, preparedname); +  Thread.Thread(startquery, forcetext, portal, q, tp, preparedname);    else    startquery(forcetext, portal, q, tp, preparedname);    throwdelayederror(portal);    return portal;   }      //! This is an alias for @[big_query()], since @[big_query()] already supports   //! streaming of multiple simultaneous queries through the same connection.   //!   //! @seealso