From: Roberto Mello <rmello@cc.usu.edu>
To: Josh Berkus <josh@agliodbs.com>
Cc: Johnny Kristensen <johnnybo1@mail.tele.dk>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL Functions vs PL/PgSQL
Date: Thu, 13 Feb 2003 11:50:13 -0700
Message-ID: <20030213185013.GA8794@cc.usu.edu> (raw)
In-Reply-To: <200302130902.05987.josh@agliodbs.com>
References: <000801c2d2e0$edd32420$dc9ac450@johnny>
<200302130902.05987.josh@agliodbs.com>
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...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rmello@cc.usu.edu, josh@agliodbs.com, johnnybo1@mail.tele.dk
Subject: Re: SQL Functions vs PL/PgSQL
In-Reply-To: <20030213185013.GA8794@cc.usu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox