pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Petru Ghita <petrutz@venaver.info>
Cc: Greg Stark <stark@mit.edu>
Cc: pgsql-sql mailing list <pgsql-sql@postgresql.org>
Subject: Re: Does IMMUTABLE property propagate?
Date: Sat, 06 Mar 2010 16:31:55 -0500
Message-ID: <4150.1267911115@sss.pgh.pa.us> (raw)
In-Reply-To: <4B927FED.60209@venaver.info>
References: <4B91C184.4090906@venaver.info>
	<407d949e1003060645i408e0648te67dfd722172f76a@mail.gmail.com>
	<4B927FED.60209@venaver.info>

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



view thread (12+ messages)  latest in thread

Message-ID: <4150.1267911115@sss.pgh.pa.us>
Permalink:  ../4150.1267911115@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4150.1267911115@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, petrutz@venaver.info, stark@mit.edu
  Subject: Re: Does IMMUTABLE property propagate?
  In-Reply-To: <4150.1267911115@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox