From: Richard Huxton <dev@archonet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Stored procedure returning row or resultset
Date: Tue, 15 Oct 2002 09:17:26 +0100
Message-ID: <200210150917.26662.dev@archonet.com> (raw)
In-Reply-To: <17131.1034615852@sss.pgh.pa.us>
References: <200210141622.54638.heiko.stoermer@login-solutions.de>
<200210141605.04208.dev@archonet.com>
<17131.1034615852@sss.pgh.pa.us>
On Monday 14 Oct 2002 6:17 pm, Tom Lane wrote:
> Richard Huxton <dev@archonet.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
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-sql@postgresql.org
Cc: dev@archonet.com, tgl@sss.pgh.pa.us
Subject: Re: Stored procedure returning row or resultset
In-Reply-To: <200210150917.26662.dev@archonet.com>
* 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