Re: possible memory leak with SRFs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: possible memory leak with SRFs
Дата
Msg-id 16217.1273156029@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: possible memory leak with SRFs  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Ответы Re: possible memory leak with SRFs  (Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>)
Список pgsql-hackers
Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> writes:
> Can someone please explain why we do not reset the expression context
> if an SRF is involved during execution?

Considersrf(foo(col))
where foo returns a pass-by-reference datatype.  Your proposed patch
would cut the knees out from under argument values that the SRF could
reasonably expect to still be there on subsequent calls.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: max_standby_delay considered harmful
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Partitioning/inherited tables vs FKs