Re: Evaluate arguments of correlated SubPlans in the referencing ExprState
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Evaluate arguments of correlated SubPlans in the referencing ExprState |
| Дата | |
| Msg-id | 2134061.1677787831@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Evaluate arguments of correlated SubPlans in the referencing ExprState (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Evaluate arguments of correlated SubPlans in the referencing ExprState
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2023-03-02 14:33:35 -0500, Tom Lane wrote:
>> I looked through this, and there is one point that is making me really
>> uncomfortable. This bit is assuming that we can bind the address of
>> the es_param_exec_vals array right into the compiled expression:
> Yea, I wasn't super comfortable with that either. I concluded it's ok
> because we already cache pointers to the array inside each ExprContext.
ExprContext, sure, but compiled expressions? Considering what it
costs to JIT those, I think we ought to be trying to make them
fairly long-lived.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера