Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group