SRFs ExecMakeTableFunctionResult

Поиск
Список
Период
Сортировка
От James William Pye
Тема SRFs ExecMakeTableFunctionResult
Дата
Msg-id 20040809072946.GA13569@void.ph.cox.net
обсуждение исходный текст
Ответы Re: SRFs ExecMakeTableFunctionResult  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: 8.0.0beta1 ... packaged for testing ...
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Postgres development model (was Re: CVS comment)