Re: Memory leaks in record_out and record_send

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Memory leaks in record_out and record_send
Дата
Msg-id m2bof1xxr2.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Memory leaks in record_out and record_send  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Memory leaks in record_out and record_send  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> I think explicit calls like that actually wouldn't be a problem,
> since they'd be run in a per-tuple context anyway.  The cases that
> are problematic are hard-coded I/O function calls.  I'm worried
> about the ones like, say, plpgsql's built-in conversion operations.
> We could probably fix printtup's usage with some confidence, but
> there are a lot of other ones.

That's a good reason to get them into a shorter memory context, but
which? per transaction maybe? shorter?

-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Index only scans wiki page
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] Patch to compute Max LSN of Data Pages