KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a small table (~30 rows) in my Postgres 9.0 database with an integer ID field (the primary key) which currently contains unique sequential integers starting at 1, but which was not created using the 'serial' keyword. How can I alter this table such that from now on inserts to this table will cause this field to behave as if it had been created with 'serial' as a type?
Tags (comma-separated)
Save Edits
Cancel