Re: bug in plancache.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in plancache.c
Дата
Msg-id 9261.1317055558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на bug in plancache.c  (yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi))
Список pgsql-bugs
yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) writes:
> GetCachedPlan can pass the 'qlist' to the planner twice.
> if i understand the code correctly, it's unsafe because the planner is
> destructive wrt the input tree.  for my application, it often causes
> a crash in executor.

Good catch, thanks!  (But a fix like this really requires a comment IMO.)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6222: Segmentation fault on unlogged table
Следующее
От: Robert Haas
Дата:
Сообщение: Re: comment fixes