Re: Function query plan - Mailing list pgsql-general

From Dany De Bontridder
Subject Re: Function query plan
Date
Msg-id 200605052253.58038.dany@alchimerys.be
Whole thread Raw
In response to Re: Function query plan  (Douglas McNaught <doug@mcnaught.org>)
Responses Re: Function query plan  (Douglas McNaught <doug@mcnaught.org>)
List pgsql-general
On Friday 05 May 2006 13:06, Douglas McNaught wrote:
> "Paul Mackay" <mackaypaul@gmail.com> writes:
> > I understand that the query plan of a function is determined at
> > CREATION and remains the same whatever the parameter(s) value. I
> > suppose then that this plan is stored somewhere in a system table ?
>
> You are misinformed.  It's determined the first time that function is
> executed in a given backend, and stored in backend-local memory.
> There's no way that I know of to look at it.
And after a vacuum analyze, the plan can change ??

D.

pgsql-general by date:

Previous
From: Brendan Duddridge
Date:
Subject: Re: can't reindex a couple of tables
Next
From: "Tzahi Fadida"
Date:
Subject: Google Summer of Code: Full Disjunctions