Prior to PostgreSQL 10, if we wanted to create an auto-incrementing column, we would typically use the SERIAL
type, or we’d create our own sequence and apply it to an integer column.
But from PostgreSQL 10 onwards, we’ve been able to create identity columns.
Continue reading