On Monday 14 Oct 2002 6:17 pm, Tom Lane wrote:
> Richard Huxton <dev(at)archonet(dot)com> writes:
> > Have you looked at marking f1() etc cachable? This means Postgresql
> > will only call the function once for each parameter-set.
>
> Unfortunately that's not true at all, or at least not helpful for this
> problem. The cachable attribute was poorly named, because it leads
> people to think that PG *will* cache function results, as opposed to
> *could* cache function results.
I must admit, that was my impression. Are there simple rules for if/when PG
will cache function results?
--
Richard Huxton