| От | Sam Mason |
|---|---|
| Тема | Re: Division by zero |
| Дата | |
| Msg-id | 20090604155944.GU5407@samason.me.uk обсуждение |
| Ответ на | Re: Division by zero (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Thu, Jun 04, 2009 at 11:17:39AM -0400, Tom Lane wrote: > Sam Mason <sam@samason.me.uk> writes: > > I think that with 8.3 at least I'm going to carry on putting > > IMMUTABLE on where I think it should be. Consider: > > there are corner cases where it's useful to have the function > marked correctly rather than sloppily. I think I originally noticed it when I'd written an "implies" operator (i.e. (NOT $1) OR $2, as I don't trust myself to remember the logic) and queries were running slowly until I noticed that a view was using it deep inside itself somewhere. Seems like views would trigger this behavior pretty reliably. Doesn't seem like it needs fixing too urgently though. -- Sam http://samason.me.uk/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера