> just use serial

Ideally you use IDENTITY with Postgres, but the end result is the same, yes.