Re: function side effects - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: function side effects
Date
Msg-id 4B83B374020000250002F513@gw.wicourts.gov
Whole thread Raw
In response to Re: function side effects  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: function side effects
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>> throw an error on any attempt to call a volatile function or
>> modify the database?
> It's *not an error* for a nonvolatile function to call a volatile
> one.
Right, we all know it currently doesn't throw an error, but I can't
think of anywhere I'd like to have someone do that in a database for
which I have any responsibility.  Does anyone have a sane use case
for a non-volatile function to call a volatile one or to update the
database?
-Kevin


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Resjunk sort columns, Heikki's index-only quals patch, and bug #5000
Next
From: Bruce Momjian
Date:
Subject: Re: Index-only quals