Calling the same function more than once with the same arguments
В списке pgsql-general по дате отправления:
| От | Clodoaldo Pinto |
|---|---|
| Тема | Calling the same function more than once with the same arguments |
| Дата | |
| Msg-id | a595de7a0604191429u7c84765dv81fd542c2ed812fc@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Calling the same function more than once with the same
Re: Calling the same function more than once with the same arguments |
| Список | pgsql-general |
I'm building a function caller() in which a certain function called() will be called many times in from clauses with the same arguments and I'm wondering if is there a performance penalty for that or if the sql engine is smart enough to call called() only once. I tried to substitute called() in the from clauses for a temporary table created first in caller() but it refuses to build caller() with the message "ERROR: relation "temp_table_name" does not exist". It does not exist in build time but it will exist in run time. Regards, Clodoaldo Pinto
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера