Josh Berkus <josh@agliodbs.com> writes:
> On 1/30/12 5:41 PM, Tom Lane wrote:
>> Well, the current marking is clearly incorrect. What to do about that
>> is a bit less clear --- should we downgrade the marking, or change the
>> function's behavior so that it really is immutable?
> AFAIK, the only case which is NOT immutable is extract(epoch FROM
> timestamp without time zone), no?
That's the only one we currently know is not immutable. But before we
make any decisions, I think it'd be a good idea to scrutinize all the
other cases too, because obviously this area has gotten some careless
hacking (*) done on it in the past.
regards, tom lane
(*) I have a nasty feeling that the carelessness was mine.