On 1/30/12 5:41 PM, Tom Lane wrote: > hubert depesz lubaczewski <dep...@depesz.com> writes: >> On Mon, Jan 30, 2012 at 10:35:21AM -0800, Josh Berkus wrote: >>> We can't have functions which are immutable or not depending on their >>> inputs. That way lies madness. > >> but this is exactly what's happening now. > > 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? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers