replacing tables

Поиск
Список
Период
Сортировка
От Mark Byerley
Тема replacing tables
Дата
Msg-id 5.0.2.1.0.20010406134940.00a1e9c0@admmail.uwaterloo.ca
обсуждение исходный текст
Ответы Re: replacing tables  (Joel Burton <jburton@scw.org>)
Список 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 по дате отправления:

Предыдущее
От: "Hector Miranda"
Дата:
Сообщение: Problem with large tables
Следующее
От: Joel Burton
Дата:
Сообщение: Re: replacing tables