From: Alex Pilosov <alex@pilosoft.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: temporary views
Date: Fri, 5 Oct 2001 17:01:33 -0400 (EDT)
Message-ID: <Pine.BSO.4.10.10110051658420.6702-100000@spider.pilosoft.com> (raw)
In-Reply-To: <200110052042.f95KgwZ22912@candle.pha.pa.us>
On Fri, 5 Oct 2001, Bruce Momjian wrote:
>
> What actually should happen is that the view should go away at the end
> of the session. However, unlike indexes, we can have several tables
> involved in a view so it is hard to know exactly how to handle this.
>
> Seems like a TODO item, at least. What we could do is to create views
> as TEMP if they use temp tables and drop the view as soon as the session
> ends . You of course would have to recreate the view each time but
> because it is a _temp_ view, it could be done reliably by multiple
> backends at the same time.
Didn't someone suggest dropping saving of parsed plans with OIDs
altogether, and saving the underlying query instead? The point was that
parser and planner are fast enough to make it unnecessary to save plans.
I don't remember what was disposition of that idea....
-alex
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: alex@pilosoft.com, pgman@candle.pha.pa.us
Subject: Re: temporary views
In-Reply-To: <Pine.BSO.4.10.10110051658420.6702-100000@spider.pilosoft.com>
References: <200110052042.f95KgwZ22912@candle.pha.pa.us> <Pine.BSO.4.10.10110051658420.6702-100000@spider.pilosoft.com>
* 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