Re: iscacheable for date/time?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: iscacheable for date/time?
Дата
Msg-id 873.1001516482@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: iscacheable for date/time?  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
> ... and how about the istrusted attribute for various routines? Should
> it be always false or always true for C builtin functions?

At the moment it seems to be true for every pg_proc entry in template1.
AFAIK the attribute is not actually being looked at, anyway.  I think
it used to be used to determine which functions needed to be executed in
a separate subprocess for safety reasons (ie, coredump of the function
wouldn't kill the backend) ... but that code's been gone for a long while.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: iscacheable for date/time?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PERFORMANCE IMPROVEMENT by mapping WAL FILES