Mar 23, 2015 add autoincrement column db key postgres primary sql Add Primary Key Column to PostgreSQL Table The other day I got a question: How to add a numeric PK column to an already existent table? A quick look on the net