| От | Andrew Dunstan |
|---|---|
| Тема | Re: Segfault from PL/Perl Returning vstring |
| Дата | |
| Msg-id | 4B2FE17B.3000708@dunslane.net обсуждение исходный текст |
| Ответ на | Re: Segfault from PL/Perl Returning vstring (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut wrote: > On mån, 2009-12-21 at 14:46 -0500, Andrew Dunstan wrote: > >> BTW, this should arguably not be an immutable function. You could >> replace the perl library, so it's not solely dependent on the input >> for >> the result. >> > > By this logic, no function could be immutable, because you could replace > the C library or parts of the kernel. > > *shrug* Maybe, OTOH upgrading perl is not such an unusual operation, and doing so *will* affect this value. It's a bit hard to see why one would want the perl version to be immutable. It doesn't look like it would be much use in an index .... I think people are generally safer not marking functions immutable unless they actually need them to be. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера