From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-performance@postgresql.org
Subject: Re: clear function cache (WAS: SQL function inlining)
Date: Fri, 15 Apr 2005 22:40:55 +0200
Message-ID: <20050415204055.GA20345@nibiru.borg.metux.de> (raw)
In-Reply-To: <20050324065516.P34192@megazone.bigpanda.com>
References: <A66A11DBF5525341AEF6B8DE39CDE770088060@black.aprote.com>
<7635.1111596928@sss.pgh.pa.us>
<20050324133248.GB31203@nibiru.borg.metux.de>
<20050324134240.GD20726@dcc.uchile.cl>
<20050324141233.GA933@nibiru.borg.metux.de>
<20050324065516.P34192@megazone.bigpanda.com>
* Stephan Szabo <sszabo@megazone.bigpanda.com> wrote:
>
> On Thu, 24 Mar 2005, Enrico Weigelt wrote:
>
> > * Alvaro Herrera <alvherre@dcc.uchile.cl> 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.
So when can I expect the function to be reevaluated ?
Next query ? Next session ? Random time ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
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-performance@postgresql.org
Cc: weigelt@metux.de
Subject: Re: clear function cache (WAS: SQL function inlining)
In-Reply-To: <20050415204055.GA20345@nibiru.borg.metux.de>
* 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