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

Derives the tables and columns VACUUM and ANALYZE name.

Rule: PG-MAINTENANCE-TARGET-001. Each table name resolves by PG-TABLE-TARGET-001. A listed column is looked up among the columns of a declared table whose column list is complete, system columns excluded; a column it does not have is the diagnostic the server raises. With an undeclared table or an incomplete column list nothing is claimed about the columns: the fact of the table carries the missing declaration. Termination: one pass over the tables and their columns. Source: https://www.postgresql.org/docs/17/sql-analyze.html, https://www.postgresql.org/docs/17/sql-vacuum.html. Status: Implemented.

Methods§

public function has(Derivation $derivation, list<string> $declared, string $name): bool

Tells whether a name is among declared column names under the name comparison of the context.

Parameters

$derivationDerivation
$declaredlist<string>
$namestring

Returns

bool
Called from 1

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