Re: SQL Functions vs PL/PgSQL

From: Roberto Mello <rmello(at)cc(dot)usu(dot)edu>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Johnny Kristensen <johnnybo1(at)mail(dot)tele(dot)dk>, pgsql-sql(at)postgresql(dot)org
Subject: Re: SQL Functions vs PL/PgSQL
Date: 2003-02-13 18:50:13
Message-ID: 20030213185013.GA8794@cc.usu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Feb 13, 2003 at 09:02:05AM -0800, Josh Berkus wrote:
> Johnny,
>
> > Does postgres store execution plan's for user-defined SQL functions as the
> > PL/pgSQL interpreter does. And if so - will this only be prepared after an
> > initial call to the function? Can't seem to find this information in the
> > docs!? Thanks,
>
> Unless you know something I don't, I do not believe that PL/pgSQL stores
> execution plans for functions.

AFAIK execution plans for PL/pgSQL functions were cached once per backend.
No?

-Roberto

--
+----| Roberto Mello - http://www.brasileiro.net/ |------+
+ Computer Science Graduate Student, Utah State University +
+ USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ +
If CPU < 486 then upgrade (486,OS/2 3.0) : while < 586...

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2003-02-13 19:27:18 Re: Debugging postmaster to fix possible bug in Postgres?
Previous Message Nicholas Allen 2003-02-13 17:28:50 Re: Debugging postmaster to fix possible bug in Postgres? Followup to "How do you select