Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
big_query: A variant of query() that still is nonstreaming. I.e. streaming_query: Like big_query but guaranteed to stream if it
Sounds like a plan. But I still think that it is feasible to make big_query() intelligent and pull in the rest of the stream, as soon as it notices another big_query() being started on the same connection. I.e. it should not be a large performance hit, yet still offer all the advantages, and be compatible to existing applications. It basically makes a runtime decision if streaming is possible or not.
While at it, we could also consider generalizing the big_typed_query interface that the oracle module provides:
big_typed_query: Like big_query but doesn't convert everything to
No argument here.