| От | Joe Conway |
|---|---|
| Тема | Re: Question about simple function folding optimization |
| Дата | |
| Msg-id | 3E944337.2010601@joeconway.com обсуждение исходный текст |
| Ответ на | Re: Question about simple function folding optimization (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Question about simple function folding optimization
|
| Список | pgsql-hackers |
Tom Lane wrote: > Hmm. That's an unexpected downside of the recent change to inline > simple SQL functions :-(. The inlined expression no longer looks > like a match to the index. > > The simplest answer is probably to convert the function to plpgsql, > which would probably give better performance for index access anyway. > But I wonder whether any better answer is possible. I don't want to > give up on the inlining optimization --- anyone see another fix? > Would changing the function from immutable to stable work (similar to the other day)? Joe
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера