Re: A question of volatility - Mailing list pgsql-novice

From Michael Glaesemann
Subject Re: A question of volatility
Date
Msg-id 84C314B7-E161-4237-BBC3-CB787BF769D9@seespotcode.net
Whole thread Raw
In response to A question of volatility  (Dean Rasheed <dean_rasheed@hotmail.com>)
Responses Re: A question of volatility
List pgsql-novice
On Nov 24, 2007, at 8:00 , Dean Rasheed wrote:

> If I have a couple of STABLE functions f1() and f2(), and then I
> write a third function f3()
> which does nothing other than call f1() and f2(), is it safe to
> mark f(3) as IMMUTABLE?

No. Why would calling two STABLE functions be IMMUTABLE? If it's
going to be anything other than STABLE, it would be VOLATILE.

Michael Glaesemann
grzm seespotcode net



pgsql-novice by date:

Previous
From: Dean Rasheed
Date:
Subject: A question of volatility
Next
From: Andreas
Date:
Subject: How cast interval to minutes as number?