Re: function side effects - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: function side effects
Date
Msg-id 3073cc9b1002230839p17023cdbs3baacf36f1194dd4@mail.gmail.com
Whole thread Raw
In response to Re: function side effects  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Feb 23, 2010 at 11:08 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> It's *not an error* for a nonvolatile function to call a volatile one.

it should be considered an error i think, someone think there is a use
cas for calling volatile functions
inside stable ones but i can see what that reason could be...

> At least it's never been in the past, and I'm sure you'd break some
> applications if you made it so in the future.
>

i'm sure of that too, but in this case seems reasonable to do so

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] BUG #5021: ts_parse doesn't recognize email addresses with underscores
Next
From: Bruce Momjian
Date:
Subject: Re: Resjunk sort columns, Heikki's index-only quals patch, and bug #5000