SRFs ExecMakeTableFunctionResult

From: James William Pye <flaw(at)rhid(dot)com>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: SRFs ExecMakeTableFunctionResult
Date: 2004-08-09 07:29:46
Message-ID: 20040809072946.GA13569@void.ph.cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greets,

While I was finishing up SRF support in PL/Py, I noticed that when VPC is the
selected mode for a table function, ExecMakeTableFunctionResult will set
rsinfo.isDone to ExprSingleResult each time it loops to fetch another value
(when a direct_function_call). This makes the VPC-SRF author set isDone to
ExprMultipleResult on _every_ call while returning values, as it will break
out if rsinfo.isDone != ExprMultipleResult.

Is this the desired behavior?

--
Regards,
James William Pye

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2004-08-09 07:30:01 Re: Windows binary in the beta directory?
Previous Message Peter Eisentraut 2004-08-09 07:18:03 Re: 8.0.0beta1 ... packaged for testing ...