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