Re: SRF memory mgmt patch

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: SRF memory mgmt patch
Дата
Msg-id 3D6ECA89.60800@joeconway.com
обсуждение исходный текст
Ответ на SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)  (Joe Conway <mail@joeconway.com>)
Список pgsql-patches
Tatsuo Ishii wrote:
>>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.
>

I noticed that too, but it did occur to me that at some point you might
want to make the function return a row for every table in a database.
Perhaps even another system view (like pg_locks or pg_settings)?

Joe


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

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