all you have to really do is: create sequence foo_bar_new_column_tralala_seq; ALTER TABLE foo_bar ADD COLUMN tralala int NOT NULL DEFAULT nextval('foo_bar_new_column_tralala_seq'); That's all there's to it -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general