Re: Does IMMUTABLE property propagate? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Does IMMUTABLE property propagate?
Date
Msg-id 4150.1267911115@sss.pgh.pa.us
Whole thread Raw
In response to Re: Does IMMUTABLE property propagate?  (Petru Ghita <petrutz@venaver.info>)
Responses Re: Does IMMUTABLE property propagate?
List pgsql-sql
Petru Ghita <petrutz@venaver.info> 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


pgsql-sql by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: Drop all constraints
Next
From: Jasen Betts
Date:
Subject: Re: Create functions using a function