| От | Csaba Nagy |
|---|---|
| Тема | Re: Including Snapshot Info with Indexes |
| Дата | |
| Msg-id | 1191927892.16320.50.camel@PCD12478 обсуждение исходный текст |
| Ответ на | Re: Including Snapshot Info with Indexes ("Florian G. Pflug" <fgp@phlo.org>) |
| Список | pgsql-hackers |
> I think you're overly pessimistic here ;-) This classification can be done quite > efficiently as long as your language is "static enough". The trick is not to > execute the function, but to scan the code to find all other functions and SQL > statements a given function may possibly call. If your function calls no SQL > statements, and only other functions already marked IMMUTABLE, then it must be > IMMUTABLE itself. OK, I have a "black-box" mindset right now due to the problem I'm currently working on, so I didn't even think about checking the source code of the function (which is the right thing to do if you have the source code)... in which case you're right, I was overly pessimistic :-) Cheers, Csaba.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера