Thanks again John. Will try it out. So I have to rely in 1 statement that is Postgres specific. That still works for me. Also I can create the PRIMARY KEY as an alter table and not be part of CREATE TABLE right? So let me see how the trials go. Thank you again John. Also Elliot for your last answer. Mono -- View this message in context: http://postgresql.1045698.n5.nabble.com/Creating-Primary-Key-after-CREATE-TABLE-Is-Sequence-created-tp5772633p5772649.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general