| От | Tom Lane |
|---|---|
| Тема | Re: Function result cacheing - any comments? |
| Дата | |
| Msg-id | 6322.1029764810@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Function result cacheing - any comments? (Philip Warner <pjw@rhyme.com.au>) |
| Список | pgsql-hackers |
Philip Warner <pjw@rhyme.com.au> writes:
> My theory is that if such a piece of code gets a performance gain, then the
> code is probably worth including, assuming that the function manager does
> not need to be butchered to achieve the desired goal. Does that sound
> reasonable?
Some real results would certainly bolster your case.
> So the obvious question is - in the opinion of people who know the code,
> can a function-result-cache be implemented with a lifetime of a single
> statement, without butchering the function manager?
I'd suggest trying to make it a function call handler. Look at the way
Peter did "SECURITY DEFINER" functions for inspiration.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера