Re: Adding pipelining support to set returning functions

From: Joe Conway <mail(at)joeconway(dot)com>
To: Hannu Krosing <hannu(at)krosing(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Adding pipelining support to set returning functions
Date: 2008-04-06 21:32:46
Message-ID: 47F9417E.7090104@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing wrote:
> A question to all pg hackers
>
> Is anybody working on adding pipelining to set returning functions.

Not as far as I know.

> How much effort would it take ?
>
> Where should I start digging ?

I don't remember all the details, but I think the original SRF patch
that I did was pipelined rather that materialized, and there were
difficult issues that led to going with the materialized version
"first", with a pipelined version to "eventually" follow.
SFRM_Materialize is for the former and SFRM_ValuePerCall was supposed to
be for the latter. The first thread was this one:
http://archives.postgresql.org/pgsql-hackers/2002-04/msg01201.php

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-06 22:29:33 Oracle FOR-over-cursor vs WHERE CURRENT OF?
Previous Message David Fetter 2008-04-06 21:17:10 Re: Adding pipelining support to set returning functions