| От | Neil Conway |
|---|---|
| Тема | Re: invalidating cached plans |
| Дата | |
| Msg-id | 42367842.5090405@samurai.com обсуждение исходный текст |
| Ответ на | Re: invalidating cached plans ("Qingqing Zhou" <zhouqq@cs.toronto.edu>) |
| Список | pgsql-hackers |
Qingqing Zhou wrote: > I don't quite understand the difference between a SQL function and a > PL/PgSQL function here - since there is a overlapped functionality that we > could implement by SQL function or by PL/PgSQL function. The difference is between an inlined function (which is integrated directly into the plan of the query that invokes it) and a function that is not inlined. Only SQL functions can be inlined, and only some SQL functions at that. With an out-of-line function, we just invoke the function via the fmgr infrastructure -- if it chooses to create any plans (e.g. via SPI), that is its own business, and they would be treated as distinct plans by the cache module. -Neil
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера