From: Tom Lane <tgl@sss.pgh.pa.us>
To: Murray Prior Hobbs <murray@efone.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked before
Date: Mon, 04 Feb 2002 10:47:05 -0500
Message-ID: <2301.1012837625@sss.pgh.pa.us> (raw)
In-Reply-To: <3C5E6329.3000805@efone.com>
References: <3C5E6329.3000805@efone.com>
Murray Prior Hobbs <murray@efone.com> writes:
> in a plpgsql function
> create temporary table X
> ....
> drop table X
You need to use EXECUTE for all accesses to the temp table, in order
to defeat plpgsql's attempts to cache plans for those queries.
regards, tom lane
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, murray@efone.com
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked before
In-Reply-To: <2301.1012837625@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