I have a table with existing data. Is there a way to add a primary key without deleting and re-creating the table? 5 Answers 5 Tags: auto-incrementpostgresqlprimary-key