Re: SQL Functions vs PL/PgSQL - Mailing list pgsql-sql

From Roberto Mello
Subject Re: SQL Functions vs PL/PgSQL
Date
Msg-id 20030213185013.GA8794@cc.usu.edu
Whole thread Raw
In response to Re: SQL Functions vs PL/PgSQL  (Josh Berkus <josh@agliodbs.com>)
Responses Re: SQL Functions vs PL/PgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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...


pgsql-sql by date:

Previous
From: Nicholas Allen
Date:
Subject: Re: Debugging postmaster to fix possible bug in Postgres? Followup to "How do you select
Next
From: Stephan Szabo
Date:
Subject: Re: Debugging postmaster to fix possible bug in Postgres?