Re: Temporary Views - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Temporary Views
Date
Msg-id 200208131623.g7DGNeg10424@candle.pha.pa.us
Whole thread Raw
In response to Re: Temporary Views  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: db partial dumping with pg_dump
Next
From: Rod Taylor
Date:
Subject: Re: Temporary Views