Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault |
| Дата | |
| Msg-id | 71060.1729088799@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault (Amit Langote <amitlangote09@gmail.com>) |
| Ответы |
Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault
|
| Список | pgsql-bugs |
Amit Langote <amitlangote09@gmail.com> writes:
> Also, it might be better to leave a comment where the commit is
> removing code, as follows:
> - if (WALK(jve->raw_expr))
> - return true;
> + /* Ignore raw_expr because it's not relevant at runtime. */
Would it be better for parse analysis to explicitly NULL out this
field once it's done looking at it? Carrying unmaintained pieces
of an expression tree around seems both inefficient and prone to
future failures of this same ilk. The further the raw_expr gets
out of step with current reality, the worse the hazards.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера