Re: WIP Patch: Precalculate stable functions, infrastructure v1
От | Marina Polyakova |
---|---|
Тема | Re: WIP Patch: Precalculate stable functions, infrastructure v1 |
Дата | |
Msg-id | eab78416e49e9024c04b6c4fb49cd5b7@postgrespro.ru обсуждение исходный текст |
Ответ на | Re: WIP Patch: Precalculate stable functions, infrastructure v1 (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: WIP Patch: Precalculate stable functions, infrastructure v1
|
Список | pgsql-hackers |
Hello! On 24-01-2018 23:36, Andres Freund wrote: > On 2018-01-24 15:10:56 -0500, Tom Lane wrote: > ... >> Keeping the stored value of a CachedExpr in a Param slot is an >> interesting idea indeed. > > We keep coming back to this, IIRC we had a pretty similar discussion > around redesigning caseValue_datum/isNull domainValue_datum/isNull to > be > less ugly. There also was > https://www.postgresql.org/message-id/20171116182208.kcvf75nfaldv36uh@alap3.anarazel.de > where we discussed using something similar to PARAM_EXEC Param nodes to > allow inlining of volatile functions. > > ISTM, there might be some value to consider all of them in the design > of > the new mechanism. Thank you both very much for this discussion and for the link on that thread! Now I'm working on the patch, thanks to Tom Lane's comments earlier [1], and I'll try to implement something of this.. [1] https://www.postgresql.org/message-id/403e0ae329c6868b3f3467eac92cc04d%40postgrespro.ru -- Marina Polyakova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company
В списке pgsql-hackers по дате отправления: