Re: Questions about the internal of fastpath function call

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Questions about the internal of fastpath function call
Дата
Msg-id 21270.1304873475@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Questions about the internal of fastpath function call  (lee Richard <clipper.kenyon@gmail.com>)
Ответы Re: Questions about the internal of fastpath function call
Список pgsql-hackers
lee Richard <clipper.kenyon@gmail.com> writes:
> I still can not see how it return a single return value to the client, and
> why it call FunctionCall1() again when it want to send the result.

pq_endmessage is where the bytes actually get pushed out to the client,
if that's what you're looking for.  The rest of the activity in
SendFunctionResult is just concerned with constructing the message to be
sent within "buf".
        regards, tom lane


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: improvements to pgtune
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: patch for new feature: Buffer Cache Hibernation