replacing tables - Mailing list pgsql-novice

From Mark Byerley
Subject replacing tables
Date
Msg-id 5.0.2.1.0.20010406134940.00a1e9c0@admmail.uwaterloo.ca
Whole thread Raw
Responses Re: replacing tables  (Joel Burton <jburton@scw.org>)
List pgsql-novice
I have one table named temp and another table which I have added a few fields to - let's call it temp_test. It has all the same fields as table temp except it also has a birthdate field just recently added. Table temp has many indexes and sequences created to handle certain fields and what not. What I would like to know is simply if I insert into temp_test select * from temp and then drop table temp and create table temp as select * from temp_test, will I lose the indexes and sequences attributed to the original table temp?
thanks for any help on this one.
M~

pgsql-novice by date:

Previous
From: "Hector Miranda"
Date:
Subject: Problem with large tables
Next
From: Joel Burton
Date:
Subject: Re: replacing tables