X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9CDBA535FA for ; Thu, 24 Mar 2005 14:58:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45534-06 for ; Thu, 24 Mar 2005 14:58:31 +0000 (GMT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id EF64B53514 for ; Thu, 24 Mar 2005 14:58:30 +0000 (GMT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 5FCC935488; Thu, 24 Mar 2005 06:58:34 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 58F4035390; Thu, 24 Mar 2005 06:58:34 -0800 (PST) Date: Thu, 24 Mar 2005 06:58:34 -0800 (PST) From: Stephan Szabo To: Enrico Weigelt Cc: pgsql-performance@postgresql.org Subject: Re: clear function cache (WAS: SQL function inlining) In-Reply-To: <20050324141233.GA933@nibiru.borg.metux.de> Message-ID: <20050324065516.P34192@megazone.bigpanda.com> References: <7635.1111596928@sss.pgh.pa.us> <20050324133248.GB31203@nibiru.borg.metux.de> <20050324134240.GD20726@dcc.uchile.cl> <20050324141233.GA933@nibiru.borg.metux.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/511 X-Sequence-Number: 11216 On Thu, 24 Mar 2005, Enrico Weigelt wrote: > * Alvaro Herrera wrote: > > On Thu, Mar 24, 2005 at 02:32:48PM +0100, Enrico Weigelt wrote: > > > > > BTW: is it possible to explicitly clear the cache for immutable > > > functions ? > > > > What cache? There is no caching of function results. > > Not ? So what's immutable for ? For knowing that you can do things like use it in a functional index and I think for things like constant folding in a prepared plan.