Re: Temporary Views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rod Taylor <rbt(at)zort(dot)ca>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Temporary Views
Date: 2002-08-13 16:22:38
Message-ID: 26824.1029255758@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor <rbt(at)zort(dot)ca> writes:
> I was playing with this a while back (when I had initially added CASCADE
> to tables). I believe that in the event of a crash the temp tables are
> not removed until their next use. This means that stale *real* items
> may litter the system but the temp table no longer exists in these rare
> occurrences.

Huh? The view goes away at exactly the same time the temp table does.
If you suffer a backend crash then that may be postponed ... but the
view continues to work up till the instant that it's removed.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-08-13 16:23:40 Re: Temporary Views
Previous Message Bruce Momjian 2002-08-13 16:15:32 Re: Please, apply patch for contrib/tsearch