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

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 (view raw or flat)
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

pgsql-sql by date

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

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