final class IdentityColumns
Restricted visibility: declared "@visibility SqlSemantics\Platform\PostgreSql". Code outside that scope must not name this declaration.

Reports an identity column whose type is not smallint, integer or bigint.

Rule: PG-IDENTITY-TYPE-001. The server creates the identity sequence with the column's type, and the sequence accepts only int2, int4 and int8: any other built-in type, an array, a type with modifiers that is not one of the three and an interval with fields are reported ("identity column type must

  • be smallint, integer, or bigint", init_params in sequence.c). A type known

by name only, a domain over an integer type included, depends on the catalog and is not reported; an invalid type name is reported where it is written. Source: https://www.postgresql.org/docs/17/sql-createtable.html, https://github.com/postgres/postgres/blob/REL_17_2/src/backend/commands/sequence.c. Status: Implemented.

Methods§

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2

Relations§

Instantiated in 2
Method calls 2