Re: Clearing plans - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Clearing plans
Date
Msg-id b42b73150701191216q30a67106g8122a1eba09b3d74@mail.gmail.com
Whole thread Raw
In response to Re: Clearing plans  (Scott Ribe <scott_ribe@killerbytes.com>)
Responses Re: Clearing plans  (Scott Ribe <scott_ribe@killerbytes.com>)
List pgsql-general
On 1/19/07, Scott Ribe <scott_ribe@killerbytes.com> wrote:
> > Also, somebody correct me if I'm off my rocker here, but immutable
> > procedures are re-evaluated for each execution...they are just folded
> > into a constant during plan phase.
>
> You would need to actually create an immutable function in order to test how
> immutable functions work ;-) And apparently you can only do that on
> functions that return a value.

d'oh! that was just a transcription error though...if you create f()
returning bigint and immutable it produces the same results.

merlin

pgsql-general by date:

Previous
From: "Karen Hill"
Date:
Subject: Re: Spam from EnterpriseDB?
Next
From: "Merlin Moncure"
Date:
Subject: Re: Spam from EnterpriseDB?