Re: SRF memory mgmt patch

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: SRF memory mgmt patch
Дата
Msg-id 20020830.102548.26275686.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> Joe Conway <mail@joeconway.com> writes:
> > Here's a patch to address Tom's SRF API memory management concerns, as
> > discussed earlier today on HACKERS.
>
> Patch committed.
>
> It seemed to me that pgstattuple.c does not really want to be an SRF,
> but only a function returning a single tuple.

Thank you for modifying pgstattuple.c. You are right, it does not want
to return more than 1 tuple.

> As such, it can provide
> a fine example of using the funcapi.h tuple-building machinery *without*
> the SRF machinery.  I changed it accordingly, but am not able to update
> README.pgstattuple.euc_jp; Tatsuo-san, would you handle that?

Sure. I'll take care of that.
--
Tatsuo Ishii

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)
Следующее
От: Joe Conway
Дата:
Сообщение: Re: SRF memory mgmt patch