Postgres Users are a subset of Roles i.e Roles that can log in are known as users.
Both below commands create a role with login access -
create rol