| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] ExecPrepareExprList and per-query context |
| Дата | |
| Msg-id | 11498.1491583757@sss.pgh.pa.us обсуждение |
| Ответ на | [HACKERS] ExecPrepareExprList and per-query context (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>) |
| Ответы |
Re: [HACKERS] ExecPrepareExprList and per-query context
|
| Список | pgsql-hackers |
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes:
> Should ExecPrepareExprList also switch to estate->es_query_cxt?
Good point; I'm surprised we haven't noted any failures from that.
We surely want the entire result data structure to be in the same
memory context. There are not very many callers right now, and
I guess they are all in the right context already (or we aren't
testing them :-().
> Or maybe
> ExecPrepareExpr could itself detect that passed-in node is a List and
> create the list of ExprState nodes by itself.
-1. That's just breaking the API of ExecPrepareExpr.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера