Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0C97B9FB2CC for ; Wed, 18 Oct 2006 18:19:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 97186-01 for ; Wed, 18 Oct 2006 21:19:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 0D9E39FA1A7 for ; Wed, 18 Oct 2006 18:19:30 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 0CC8F56456; Wed, 18 Oct 2006 16:19:30 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Wed, 18 Oct 2006 16:19:29 -0500 Date: Wed, 18 Oct 2006 16:19:29 -0500 From: "Jim C. Nasby" To: jungmin shin Cc: pgsql-hackers@postgresql.org Subject: Re: UDF and cache Message-ID: <20061018211928.GE85041@nasby.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:061018:pgsql-general@postgresql.org::aQ3q4icpvB9+q5TD:000000000 00000000000000000000000045Mm X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200610/944 X-Sequence-Number: 102470 And PLEASE do not post something to 3 lists; it's a lot of extra traffic for no reason. Moving to -hackers. On Wed, Oct 18, 2006 at 05:15:13PM -0400, jungmin shin wrote: > Hello all, > > I read a paper, which is Query optimization in the presence of Foreign > Functions. > And the paper , there is a paragraph like below. > > In order to reduce the number of invocations, caching the results of > invocation was suggested in Postgres. > > I'd like to know in detail about how postgres is maintaing the cache of > UDFs. > > Thanks, > Jungmin > > > -- > Jungmin Shin -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)