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

Derives the facts of a table published by CREATE or ALTER PUBLICATION.

Rule: PG-PUBLICATION-TABLE-001. The table name is resolved along the schema search path (CORE-TABLE-LOOKUP-001); a publication sees no common table. A declared table contributes one slot per declared column and is open when its column list is incomplete; an undeclared or conditionally resolved name contributes an open shape naming the missing declaration; a missing or conflicting name is a diagnostic. The column list names columns of the table: against a declared table, a column it does not have (when its columns are complete), a system column and a repeated column are diagnostics. The row filter is evaluated with the table visible under its name, as the server adds it to the filter's namespace. Termination: one pass over the finite column list. Source: https://www.postgresql.org/docs/17/sql-createpublication.html, https://www.postgresql.org/docs/17/logical-replication-row-filter.html, https://www.postgresql.org/docs/17/logical-replication-col-lists.html. Status: Implemented.

Methods§

public function columns(
    PublicationTable $table,
    DeclaredTable $resolution,
    Derivation $derivation,
): void

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