SRFs ExecMakeTableFunctionResult - Mailing list pgsql-hackers

From James William Pye
Subject SRFs ExecMakeTableFunctionResult
Date
Msg-id 20040809072946.GA13569@void.ph.cox.net
Whole thread Raw
Responses Re: SRFs ExecMakeTableFunctionResult  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 8.0.0beta1 ... packaged for testing ...
Next
From: Peter Eisentraut
Date:
Subject: Re: Postgres development model (was Re: CVS comment)