pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Roberto Mello <rmello@cc.usu.edu>
Cc: 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 19:06:29 -0500
Message-ID: <2167.1045181189@sss.pgh.pa.us> (raw)
In-Reply-To: <20030213185013.GA8794@cc.usu.edu>
References: <000801c2d2e0$edd32420$dc9ac450@johnny>
	<200302130902.05987.josh@agliodbs.com>
	<20030213185013.GA8794@cc.usu.edu>

Roberto Mello <rmello@cc.usu.edu> writes:
> On Thu, Feb 13, 2003 at 09:02:05AM -0800, Josh Berkus wrote:
>> 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?

Yes.  This is explained in the docs ...
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/plpgsql.html#PLPGSQL-OVERVIEW

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <2167.1045181189@sss.pgh.pa.us>
Permalink:  ../2167.1045181189@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2167.1045181189@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, rmello@cc.usu.edu, josh@agliodbs.com, johnnybo1@mail.tele.dk
  Subject: Re: SQL Functions vs PL/PgSQL
  In-Reply-To: <2167.1045181189@sss.pgh.pa.us>

* 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