title: What is the limit of GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY in PostgreSQL?
body: <p>There are <code>smallserial</code>, <code>serial</code> and <code>bigserial</code> numeric data types in PostgreSQL, which have obvious limits to 32767, 2147483647 and 9223372036854775807 respectively.</p>
  <p>But what about <code>GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY</code>, does it have any restrictions? Or maybe they are computed according to the provided data type (<code>SMALLINT</code>, <code>INT</code>, <code>BIGINT</code>)?</p>