Re: iscacheable for date/time? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: iscacheable for date/time?
Date
Msg-id 873.1001516482@sss.pgh.pa.us
Whole thread Raw
In response to Re: iscacheable for date/time?  (Thomas Lockhart <lockhart@fourpalms.org>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: iscacheable for date/time?
Next
From: Tom Lane
Date:
Subject: Re: PERFORMANCE IMPROVEMENT by mapping WAL FILES