Re: A question of volatility

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: Dean Rasheed <dean_rasheed(at)hotmail(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: A question of volatility
Date: 2007-11-24 14:20:02
Message-ID: 84C314B7-E161-4237-BBC3-CB787BF769D9@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas 2007-11-25 07:43:22 How cast interval to minutes as number?
Previous Message Dean Rasheed 2007-11-24 13:00:03 A question of volatility