Re: Function query plan

From: Dany De Bontridder <dany(at)alchimerys(dot)be>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Function query plan
Date: 2006-05-05 20:53:57
Message-ID: 200605052253.58038.dany@alchimerys.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 05 May 2006 13:06, Douglas McNaught wrote:
> "Paul Mackay" <mackaypaul(at)gmail(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2006-05-05 21:23:15 Re: Function query plan
Previous Message Sean Hamilton 2006-05-05 20:48:28 Rules on Select