On Thu, Oct 29, 2009 at 7:17 AM, Tom Lane <t...@sss.pgh.pa.us> wrote:
> Pipelined execution would be nice but I really doubt that it's worth
> what we'd have to give up to have it.  The one-at-a-time behavior will
> be simple to understand and reliable to use.  Concurrent execution won't
> be either.

I think the ideal way to get pipelined execution will be to detect the
cases where it's safe, ie, no deletes, inserts, or updates, no
recursive calls, and only one call site, and inline the sql directly
into the callsite. Actually we could do that even if there are two
callsites if there are no volatile functions but estimating whether
that would be a win or a loss would be hard.

-- 
greg

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to