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

Derives the objects a generic object command names.

Rule: PG-OBJECT-FACTS-001. Every object reference derives the type names and signatures it holds in the statement environment; a relation it names is resolved by PG-OBJECT-RELATION-001. An operator written (type, NONE) names a postfix operator, which no longer exists, so a command without IF EXISTS that names one is reported. Routines, operators, types and the other catalog objects cannot be declared in the context and are not resolved. Terminates: one pass over the references. Source: https://www.postgresql.org/docs/17/sql-dropoperator.html, https://www.postgresql.org/docs/17/release-14.html (postfix operators removed). Status: Implemented.

Methods§

public function derive(
    ObjectKind $kind,
    list<ObjectReference> $objects,
    bool $ifExists,
    Derivation $derivation,
): list<RelationFact|null>

Derives every reference and answers the relation fact of each, null where the kind names no relation.

Parameters

$kindObjectKind
$objectslist<ObjectReference>
$ifExistsbool
$derivationDerivation

Returns

list<RelationFact|null>
Test cases 1
Called from 7
Calls 7

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