From: | Enrico Weigelt <weigelt(at)metux(dot)de> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: immutable functions vs. join for lookups ? |
Date: | 2005-04-21 19:22:26 |
Message-ID: | 20050421192226.GB16548@nibiru.borg.metux.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
* Jaime Casanova <systemguards(at)gmail(dot)com> wrote:
<snip>
> Even if your data never changes it *can* change so the function should
> be at most stable not immutable.
okay, the planner sees that the table could potentionally change.
but - as the dba - I'd like to tell him, this table *never* changes
in practise (or at most there will be an insert once a year)
isnt there any way to enforce the function to be really immutable ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Darcy Buskermolen | 2005-04-21 19:23:52 | Re: index not used |
Previous Message | Alex Turner | 2005-04-21 19:12:09 | Re: Index bloat problem? |