Re: stable vs. immutable unaccent function

From: Greg Stark <stark(at)mit(dot)edu>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: Thangalin <thangalin(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: stable vs. immutable unaccent function
Date: 2013-05-05 21:13:22
Message-ID: CAM-w4HMSTF=8pf1MQMcX28dcner0dY90xca4_3jzANCxM0k4Zw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, May 5, 2013 at 9:01 PM, Marti Raudsepp <marti(at)juffo(dot)org> wrote:
> A STABLE function may call an IMMUTABLE function, but not the other way around.

Well no, an immutable function can and may call a stable (or even
volatile) function. Postgres won't stand in your way. It's probably a
bad idea unless it's carefully thought out though.

--
greg

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Thangalin 2013-05-05 22:54:59 Re: stable vs. immutable unaccent function
Previous Message Marti Raudsepp 2013-05-05 20:01:50 Re: stable vs. immutable unaccent function