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

Checks and derives the qualifiers of a column: its constraints, deferral attributes and collation.

Rule: PG-COLUMN-QUALIFIERS-001. A qualifier list holds column constraints, the four deferral attributes and COLLATE clauses, in the order written. Each constraint is derived in the environment of the table. The server reports (SplitColQualList, transformConstraintAttrs, transformColumnDefinition): more than one COLLATE; a deferral attribute that does not follow a UNIQUE, PRIMARY KEY or REFERENCES constraint ("misplaced ... clause"); two DEFERRABLE/NOT DEFERRABLE or two INITIALLY attributes for one constraint; INITIALLY DEFERRED on a constraint marked NOT DEFERRABLE; NULL and NOT NULL together; more than one DEFAULT, identity or generation clause; and any two of DEFAULT, identity and generation. Source: https://www.postgresql.org/docs/17/sql-createtable.html. Termination: one pass over the qualifiers. Status: Implemented.

Methods§

public function checked(array<array-key, object|scalar|null> $qualifiers): list<Clause>

Private surface 1§

Implementation details, listed for orientation only.

private const CONSTRAINTS = [\SqlSemantics\Platform\PostgreSql\Statement\Constraint\Column\NotNull::class, …

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 4
Method calls 4