Re: Function query plan

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: "Paul Mackay" <mackaypaul(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Function query plan
Date: 2006-05-05 11:06:46
Message-ID: 87slno91dl.fsf@suzuka.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"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.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-05 15:01:46 Re: Field names and NEW
Previous Message Fred 2006-05-05 10:03:50 Syntax problem for a newbie