pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wheeler <david@kineticode.com>
To: Christopher Kings-Lynne <chris.kings-lynne@calorieking.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: IMMUTABLE?
Date: Tue, 16 May 2006 19:08:51 -0700
Message-ID: <C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com> (raw)
In-Reply-To: <446A7C69.5030905@calorieking.com>
References: <2D4C0FA5-DB75-45EA-91D2-7B4F6DD55083@kineticode.com>
	<5211.1147749711@sss.pgh.pa.us>
	<3F0CF576-8C6F-433C-9942-BB36F4E1A194@kineticode.com>
	<5894.1147753901@sss.pgh.pa.us>
	<719F1E6C-4695-4FD2-A73B-0E3AE173B8F0@kineticode.com>
	<446A7C69.5030905@calorieking.com>

On May 16, 2006, at 18:29, Christopher Kings-Lynne wrote:

>> Yes, but there are definitely programming cases where memoization/ 
>> caching definitely helps. And it's easy to tell for a given  
>> function whether or not it really helps by simply trying it with  
>> CACHED and without.
>> Would this be a simple thing to implement?
>
> It's called a "table" :)

   http://www.justatheory.com/computers/databases/postgresql/ 
higher_order_plpgsql.html

Yes, I know. :-P But it'd be easier to have a CACHED keyword, of course.

Best,

David



view thread (11+ messages)  latest in thread

Message-ID: <C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com>
Permalink:  ../C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com/
Also on:    postgresql.org/message-id/C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: david@kineticode.com, chris.kings-lynne@calorieking.com, tgl@sss.pgh.pa.us
  Subject: Re: IMMUTABLE?
  In-Reply-To: <C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com>
  References: <2D4C0FA5-DB75-45EA-91D2-7B4F6DD55083@kineticode.com> <5211.1147749711@sss.pgh.pa.us> <3F0CF576-8C6F-433C-9942-BB36F4E1A194@kineticode.com> <5894.1147753901@sss.pgh.pa.us> <719F1E6C-4695-4FD2-A73B-0E3AE173B8F0@kineticode.com> <446A7C69.5030905@calorieking.com> <C8754CEB-0077-4B78-8355-25BFA90F19A2@kineticode.com>

* 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