| От | Joe Conway |
|---|---|
| Тема | Re: Was: Triggers, Stored Procedures, PHP |
| Дата | |
| Msg-id | 3FCA89E4.8030503@joeconway.com обсуждение исходный текст |
| Ответ на | Re: Was: Triggers, Stored Procedures, PHP (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
| Список | pgsql-general |
Alvaro Herrera wrote: > Me too. I've created many functions to extract data that are joined to > other functions. All in all the result is not as optimal as it could > be, because the optimizer can not poke into the functions, and the > estimates about functions are only guesses. If one could use > parametrized views instead of functions the whole mess would probably be > more optimal. > How is a "parameterized view" any different than a set returning SQL function? In either case, you've got the same work to do to teach the optimizer how to understand it, no? Seems like the todo is just that, teach the optimizer how to do better with set-returning SQL functions. Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера