Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 398F29F9C09 for ; Mon, 10 Sep 2007 10:47:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 67376-01 for ; Mon, 10 Sep 2007 10:47:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from pyxis.powervt.com.ar (host3.powervt.com.ar [200.43.63.66]) by postgresql.org (Postfix) with ESMTP id C787A9F9C46 for ; Mon, 10 Sep 2007 10:47:00 -0300 (ADT) Received: from pcfhevia ([201.216.249.98]) by pyxis.powervt.com.ar (IPGroup Mail Server) with ESMTP id 1OT48953; Mon, 10 Sep 2007 10:46:58 -0300 From: "Fernando Hevia" To: "'Tom Lane'" Cc: "'SQL Postgresql List'" Subject: Re: Function Volatility Date: Mon, 10 Sep 2007 10:47:34 -0300 Organization: IP-TEL Message-ID: <019801c7f3b1$240cfb60$8f01010a@iptel.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcfzUIeGxqx+xIqWTwCwGgLXvUWxdAAA1zvQ In-Reply-To: <15490.1189390524@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/76 X-Sequence-Number: 29289 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.