Re: [BUGS] Segfault in 9.0 inlining SRF

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Segfault in 9.0 inlining SRF
Дата
Msg-id 16881.1288027716@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Segfault in 9.0 inlining SRF  (Brendan Jurd <direvus@gmail.com>)
Список pgsql-hackers
Brendan Jurd <direvus@gmail.com> writes:
> This whole business of passing around global pointers while switching
> memory contexts seems like an optimal breeding-ground for bugs.

Yeah.  If it were to get significantly more complicated than this,
the best solution IMO would be to give up on trying to use a temporary
memory context during function inlining, and just accept that whatever
memory we chew up there is going to be leaked for the duration of
planning.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Range Types, discrete and/or continuous
Следующее
От: Greg Stark
Дата:
Сообщение: Re: ask for review of MERGE