Simple Question?? - Mailing list pgsql-sql

From archiver
Subject Simple Question??
Date
Msg-id 03ba01be62a3$9a00fd60$0b8c5aa5@timnt.weather.net
Whole thread Raw
List 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 by date:

Previous
From: Ingrith Andrea Correa Vargas
Date:
Subject: CREATE TABLE - DEFAULT
Next
From: Natalino Picone
Date:
Subject: how to make radius become XTRAdius :) - Important Radius Patch