pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: immutable function calling stable function
Date: Wed, 21 Jul 2004 07:51:20 -0700 (PDT)
Message-ID: <20040721074430.M61440@megazone.bigpanda.com> (raw)
In-Reply-To: <1090418677.3239.23.camel@dicaprio.akademie1.de>
References: <1090418677.3239.23.camel@dicaprio.akademie1.de>


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).



view thread (3+ messages)

Message-ID: <20040721074430.M61440@megazone.bigpanda.com>
Permalink:  ../20040721074430.M61440@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040721074430.M61440@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, twanger@bluetwanger.de
  Subject: Re: immutable function calling stable function
  In-Reply-To: <20040721074430.M61440@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox