Re: immutable function calling stable function

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: immutable function calling stable function
Date: 2004-07-21 14:51:20
Message-ID: 20040721074430.M61440@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Wed, 21 Jul 2004, Markus Bertheau wrote:

> shouldn't it be illegal for an immutable function to call a stable one?

It's expected that the function's creator is responsible for properly
marking its stability. This allows some flexibility when you know more
than the system does (for example, a stable function that isn't immutable
because of its use of a GUC variable being called from a function that
sets said variable).

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Kleiser 2004-07-21 15:07:46 Re: MySQL-style "create temporary table foo select ..."
Previous Message Geoff Richards 2004-07-21 14:49:50 MySQL-style "create temporary table foo select ..."