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

Derives CREATE SEQUENCE and the options of a sequence.

Rule: PG-SEQUENCE-001. A sequence is a relation that can be read: "the

  • sequence's last_value, log_cnt and is_called" are its columns (bigint,

bigint, boolean), never NULL, with the system columns. A temporary sequence with an unqualified name belongs to pg_temp; inside CREATE SCHEMA an unqualified sequence belongs to that schema. SEQUENCE NAME is accepted only for the sequence of an identity column and is reported in CREATE and ALTER SEQUENCE ("invalid sequence option SEQUENCE NAME"). Source: https://www.postgresql.org/docs/17/sql-createsequence.html. Status: Implemented.

Methods§

Test cases 1§

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

Dedicated tests 1

Relations§

Instantiated in 3
Method calls 3