Questions about the internal of fastpath function call

Поиск
Список
Период
Сортировка
От lee Richard
Тема Questions about the internal of fastpath function call
Дата
Msg-id BANLkTikhFxQ-_U6prRR7ahte-Pv4Lve_nA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Questions about the internal of fastpath function call
Список pgsql-hackers
Hi,<br /><br />I am reading the source code of fastpath to understand the internal of fastpath. I can not understand
howdoes it send result to the client, I hope somebody can help me on this.<br /><br />I see it call it invoke the
functionin <br /><br />HandleFunctionRequest()<br />  -> retval = FunctionCallInvoke(&fcinfo);<br />  ->
SendFunctionResult(retval,fcinfo.isnull, fip->rettype, rformat);<br />              ->OidOutputFunctionCall()  
<br/>                      -> OutputFunctionCall()<br />                                ->  result =
DatumGetCString(FunctionCall1(flinfo,val));<br />                                       -> result =
FunctionCallInvoke(&fcinfo);<br/><br />but I can not see in where it send the tuples to the client, instead it 
invokeFunctionCallInvoke again. Can anyone tell me how it copy the tuples and send it to the client.<br /><br />Thanks
alot.<br /><br />Clipper <br /> <br />  <br /> 

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Why not install pgstattuple by default?
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Questions about the internal of fastpath function call