From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan Wieck <janwieck@yahoo.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Murray Prior Hobbs <murray@efone.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked
Date: Mon, 04 Feb 2002 15:25:55 -0500
Message-ID: <11996.1012854355@sss.pgh.pa.us> (raw)
In-Reply-To: <200202042006.g14K6QR01773@saturn.janwieck.net>
References: <200202042006.g14K6QR01773@saturn.janwieck.net>
Jan Wieck <janwieck@yahoo.com> writes:
> SPI still needs to learn how to determine if a query uses
> temp tables somewhere in order to silently re-prepare queries
> when required. And I am absolutely sure this is not an issue
> we should address in PL/pgSQL. It has to be solved on the SPI
> level.
Temp tables are the wrong way to think about it. *Any* invalidation
of schema data referred to in a query plan should cause replanning.
We have a TODO item covering this already, don't we?
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, janwieck@yahoo.com, pgman@candle.pha.pa.us, murray@efone.com
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked
In-Reply-To: <11996.1012854355@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