Re: Temporary Views

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rod Taylor <rbt(at)zort(dot)ca>, 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:23:40
Message-ID: 200208131623.g7DGNeg10424@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > What about indexes? Do indexes on temp tables exist in the temp
> > namespace?
>
> Yes, a fortiori: any index exists in its table's namespace. Seems
> pretty irrelevant to the point at hand, though.

Just checking. So the index exists in the same namespace as the table.
Makes sense. Same with sequences, I assume.

Of course, views can represent multiple tables so I think they should go
into the names space with the temp tables.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-08-13 16:33:12 Re: Temporary Views
Previous Message Tom Lane 2002-08-13 16:22:38 Re: Temporary Views