| От | Tom Lane |
|---|---|
| Тема | Re: SQL Functions and plan time |
| Дата | |
| Msg-id | 22720.1057642794@sss.pgh.pa.us обсуждение |
| Ответ на | SQL Functions and plan time (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: SQL Functions and plan time
Re: SQL Functions and plan time |
| Список | pgsql-general |
Richard Huxton <dev@archonet.com> writes:
> Does the plan for the body get built at creation or execution time? I could
> have sworn it was execution time, but timings on one function suggest
> creation?
It's planned once per query. There's been some talk of building a
cross-query plan cache for SQL functions, like plpgsql has, but
nothing done yet.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера