Simple Question??

Поиск
Список
Период
Сортировка
От archiver
Тема Simple Question??
Дата
Msg-id 03ba01be62a3$9a00fd60$0b8c5aa5@timnt.weather.net
обсуждение исходный текст
Список pgsql-sql
Here's a question that maybe you can answer easily...

If I am using a sequence (seq_a) in table_a

...then "create table_b as select * from table_a"

...does table_b start using that sequence (seq_a), starting at the point
where table_a left off??

I have a 1GB table that I want to optimize by reordering it, and I will want
the new table to use the same sequence to generate the primary key. I will
then drop the original table and rename the table_b to table_a.

Any clues?

Tim Perdue
tim@perdue.net


В списке pgsql-sql по дате отправления:

Предыдущее
От: Ingrith Andrea Correa Vargas
Дата:
Сообщение: CREATE TABLE - DEFAULT
Следующее
От: Natalino Picone
Дата:
Сообщение: how to make radius become XTRAdius :) - Important Radius Patch