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

Declares the system columns every table has.

Rule: PG-SYSTEM-COLUMNS-001. "Every table has several system columns that

  • are implicitly defined by the system": tableoid (oid), xmin (xid),

cmin (cid), xmax (xid), cmax (cid) and ctid (tid). They are found by name only, are not part of *, and are never NULL. A user column cannot take one of these names. Every relation with storage has them (tables, partitioned and foreign tables, materialized views, sequences); views do not. Source: https://www.postgresql.org/docs/17/ddl-system-columns.html. Status: Implemented.

Methods§

public function reserved(Name $name): bool

Private surface 1§

Implementation details, listed for orientation only.

private const COLUMNS = ['ctid' => \SqlSemantics\Platform\PostgreSql\Statement\Type\Descriptor\Builtin:…

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