Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 37BAB633100 for ; Sat, 6 Mar 2010 17:32:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 35948-02 for ; Sat, 6 Mar 2010 21:31:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 231CD633081 for ; Sat, 6 Mar 2010 17:31:57 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o26LVtUn004152; Sat, 6 Mar 2010 16:31:56 -0500 (EST) To: Petru Ghita cc: Greg Stark , pgsql-sql mailing list Subject: Re: Does IMMUTABLE property propagate? In-reply-to: <4B927FED.60209@venaver.info> References: <4B91C184.4090906@venaver.info> <407d949e1003060645i408e0648te67dfd722172f76a@mail.gmail.com> <4B927FED.60209@venaver.info> Comments: In-reply-to Petru Ghita message dated "Sat, 06 Mar 2010 17:16:45 +0100" Date: Sat, 06 Mar 2010 16:31:55 -0500 Message-ID: <4150.1267911115@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.454 tagged_above=-10 required=5 tests=AWL=0.145, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/48 X-Sequence-Number: 33755 Petru Ghita writes: > "..immediately replaced with the function value" doesn't mean that the > results of a previously evaluated function for the same parameters are > stored and reused? No, it means what it says: the function is executed once and replaced with a constant representing the result value. regards, tom lane