Re: Function Volatility

From: "Fernando Hevia" <fhevia(at)ip-tel(dot)com(dot)ar>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'SQL Postgresql List'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Function Volatility
Date: 2007-09-10 13:47:34
Message-ID: 019801c7f3b1$240cfb60$8f01010a@iptel.com.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane writes:

> The IMMUTABLE marker is a promise from you to the system that it is safe
> to optimize away multiple calls to the function. It is not a promise
> from the system to you that the system will expend unlimited amounts of
> energy to detect duplicate calls.

Nicely put. Thanks!
BTW, this explanation should go into the manual.

Regards,
Fernando.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Jones 2007-09-10 14:59:37 Re: postgresql HEAD build failure
Previous Message Tom Lane 2007-09-10 02:51:42 Re: postgresql HEAD build failure