Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)
Дата
Msg-id 19627.1030641494@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)  (Joe Conway <mail@joeconway.com>)
Ответы Re: SRF memory mgmt patch  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список 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.  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?

            regards, tom lane

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: Visibility regression test
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: Visibility regression test