PostgreSQL 10 added the possibility to define sequences with type `smallint` and `integer`, not just `bigint`.