I\'ve a little problem with serial : From a file, I filled my database in which I have a client ID (it is a serial and it is my primary key). I have 300 clients so 300 client ID
PostgreSQL
ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;
Example:
ALTER SEQUENCE test_table_rec_id_seq RESTART WITH 4615793;