classRelationKinds
final class RelationKinds
Checks the kind of the relation a command names against the kinds the command accepts.
Rule: PG-RELATION-KIND-001. A relation declaration states whether it is a base table (a partitioned table included), a view, a materialized view, a foreign table or a sequence. A command that names a relation of a kind it does not accept is the server's error, reported in its words: DROP, COMMENT and ALTER EXTENSION written with one kind accept only that kind (DROP TABLE of a view: "v" is not a table; nothing the context declares is an index); ALTER, RENAME and SET SCHEMA written with VIEW, MATERIALIZED VIEW, FOREIGN TABLE, SEQUENCE or INDEX accept only that kind, while ALTER TABLE accepts every kind and ALTER INDEX ... RENAME any relation (RangeVarCallbackForAlterRelation); a column or constraint of a sequence cannot be renamed (cannot rename columns of relation). The commands with their own lists of accepted kinds apply them where they resolve the relation. A relation the context does not declare, or declares without stating a kind it can know, is never reported. Source: https://www.postgresql.org/docs/17/sql-droptable.html, https://www.postgresql.org/docs/17/sql-alterview.html, tablecmds.c and objectaddress.c (get_relation_by_qualified_name). Termination: one lookup per relation. Status: Implemented.
Constants§
public const COLUMNED = [\SqlSemantics\Platform\PostgreSql\Model\Statement\Declaration\RelationKind::Ba…The kinds of relation whose columns and constraints can be renamed (renameatt_check).
Methods§
public function of(RelationFact $fact): ?RelationKindAnswers the kind the declaration a relation fact resolved to states, or null when it resolved to none.
Parameters
$fact | RelationFact |
Returns
Test cases 1
Called from 18
- method-call SqlSemantics\Platform\PostgreSql\Rules\Manipulation\CopyFacts::table() packages/sql-semantics-postgres/src/Rules/Manipulation/CopyFacts.php:56
- method-call SqlSemantics\Platform\PostgreSql\Rules\Manipulation\ModificationScope::open() packages/sql-semantics-postgres/src/Rules/Manipulation/ModificationScope.php:51
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:71
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:73
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Policies::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Policies.php:41
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\RewriteRules::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/RewriteRules.php:44
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::deriveConstraint() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:87
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::elements() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:125
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Indexes::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Indexes.php:46
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\ForeignKeys::derive() packages/sql-semantics-postgres/src/Rules/Table/ForeignKeys.php:67
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Element\LikeClause::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Element/LikeClause.php:62
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\AlterSequence::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Sequence/AlterSequence.php:64
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\TruncateTable::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/TruncateTable.php:62
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\View\RefreshMaterializedView::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/View/RefreshMaterializedView.php:57
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Cluster::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Cluster.php:78
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Lock::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Lock.php:69
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Reindex::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Reindex.php:87
public function declared(
Derivation $derivation,
QualifiedName $name,
?Environment $environment = null,
): ?RelationKindAnswers the kind of the relation a name resolves to, or null when it resolves to no declaration.
Parameters
$derivation | Derivation | |
$name | QualifiedName | |
$environment | ?Environment |
Returns
Called from 8
- method-call SqlSemantics\Platform\PostgreSql\Rules\Query\Locking::kinds() packages/sql-semantics-postgres/src/Rules/Query/Locking.php:107
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::parent() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:126
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::named() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:106
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::altered() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:118
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::renamed() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:131
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\RelationsTarget::deriveTarget() packages/sql-semantics-postgres/src/Statement/Catalog/Access/Target/RelationsTarget.php:77
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Index\CreateStatistics::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Index/CreateStatistics.php:85
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceReference::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Sequence/SequenceReference.php:53
Calls 2
- method-call Derivation::table() line 72
- method-call Derivation::environment() line 72
public function require(
Derivation $derivation,
?RelationKind $kind,
Name $relation,
list<RelationKind> $accepted,
KindRule $rule,
): boolReports the rule when the declared kind is known and is not one of the accepted kinds; tells whether it reported.
Parameters
$derivation | Derivation | |
$kind | ?RelationKind | |
$relation | Name | |
$accepted | list<RelationKind> | |
$rule | KindRule |
Returns
boolCalled from 19
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Policies::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Policies.php:41
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\RewriteRules::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/RewriteRules.php:48
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::elements() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:126
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Indexes::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Indexes.php:46
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\ForeignKeys::derive() packages/sql-semantics-postgres/src/Rules/Table/ForeignKeys.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::named() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:106
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::altered() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:118
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::renamed() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:131
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::modified() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:149
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\RelationsTarget::deriveTarget() packages/sql-semantics-postgres/src/Statement/Catalog/Access/Target/RelationsTarget.php:77
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Element\LikeClause::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Element/LikeClause.php:63
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Index\CreateStatistics::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Index/CreateStatistics.php:85
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\AlterSequence::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Sequence/AlterSequence.php:65
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceReference::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Sequence/SequenceReference.php:53
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\TruncateTable::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/TruncateTable.php:63
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\View\RefreshMaterializedView::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/View/RefreshMaterializedView.php:58
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Cluster::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Cluster.php:79
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Lock::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Lock.php:70
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Reindex::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Reindex.php:88
Calls 3
- function-call
in_arrayline 84 - method-call Derivation::report() line 87
- new KindProblem line 87
public function named(
Derivation $derivation,
ObjectKind $kind,
list<ObjectReference> $objects,
): voidChecks the relations of a command written with one relation kind that accepts only that kind: DROP, COMMENT and ALTER EXTENSION.
Parameters
$derivation | Derivation | |
$kind | ObjectKind | |
$objects | list<ObjectReference> |
Called from 4
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Extension\AlterExtensionContents::deriveStatement() packages/sql-semantics-postgres/src/Statement/Catalog/Extension/AlterExtensionContents.php:69
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Comment::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Comment.php:53
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Drop::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Drop.php:76
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\ExtensionDependency::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/ExtensionDependency.php:54
Calls 4
- method-call RelationKinds::expected() line 99
- method-call RelationKinds::name() line 104
- method-call RelationKinds::require() line 106
- method-call RelationKinds::declared() line 106
public function altered(
Derivation $derivation,
ObjectKind $kind,
QualifiedName $name,
bool $rename,
): boolChecks the relation of an ALTER, RENAME or SET SCHEMA command written with a relation kind; tells whether it reported.
Parameters
$derivation | Derivation | |
$kind | ObjectKind | |
$name | QualifiedName | |
$rename | bool |
Returns
boolCalled from 2
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:70
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::renamed() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:133
Calls 5
- class-const ObjectKind::Table() line 116
- class-const ObjectKind::Index() line 116
- method-call RelationKinds::expected() line 116
- method-call RelationKinds::require() line 118
- method-call RelationKinds::declared() line 118
public function renamed(
Derivation $derivation,
ObjectKind $kind,
ObjectReference $object,
bool $rename,
bool $member,
): voidChecks the relation of ALTER ... RENAME ($rename) or SET SCHEMA written with a relation kind; a renamed column or constraint needs a relation that has columns.
Parameters
$derivation | Derivation | |
$kind | ObjectKind | |
$object | ObjectReference | |
$rename | bool | |
$member | bool |
Called from 2
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Rename::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Rename.php:80
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\SetSchema::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/SetSchema.php:56
Calls 7
- method-call RelationKinds::expected() line 126
- method-call RelationKinds::name() line 126
- method-call RelationKinds::require() line 131
- method-call RelationKinds::declared() line 131
- class-const RelationKinds::COLUMNED() line 131
- class-const KindRule::RenameColumns() line 131
- method-call RelationKinds::altered() line 133
public function modified(
Derivation $derivation,
?RelationKind $kind,
Name $relation,
bool $merge,
): voidReports the target of INSERT, UPDATE, DELETE or MERGE when its declared kind cannot be changed.
A sequence or a materialized view cannot be changed (CheckValidResultRel); whether a view or a foreign table can depends on its definition, its triggers or its wrapper. MERGE accepts only a table and, from PostgreSQL 17, a view (transformMergeStmt).
Parameters
$derivation | Derivation | |
$kind | ?RelationKind | |
$relation | Name | |
$merge | bool |
Called from 1
Calls 11
- class-const GrammarRelease::PostgreSql166() line 148
- class-const RelationKind::View() line 148
- method-call RelationKinds::require() line 149
- class-const RelationKind::BaseTable() line 149
- class-const KindRule::Merge() line 149
- class-const RelationKind::Sequence() line 150
- class-const RelationKind::MaterializedView() line 150
- method-call Derivation::report() line 151
- new KindProblem line 151
- class-const KindRule::ChangeSequence() line 151
- class-const KindRule::ChangeMaterializedView() line 151
public function foreign(Derivation $derivation, list<Clause> $elements): voidReports the constraints a foreign table cannot have among table elements, column qualifiers included.
A foreign table has no primary key, unique, exclusion or foreign key constraint (transformTableConstraint, transformColumnDefinition).
Parameters
$derivation | Derivation | |
$elements | list<Clause> |
Called from 2
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::foreign() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:118
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:72
Calls 16
- class-const ConstraintKind::PrimaryKey() line 169
- class-const KindRule::ForeignPrimaryKey() line 169
- class-const ConstraintKind::Unique() line 170
- class-const KindRule::ForeignUnique() line 170
- class-const ConstraintKind::Exclusion() line 171
- class-const KindRule::ForeignExclusion() line 171
- class-const ConstraintKind::ForeignKey() line 172
- class-const KindRule::ForeignForeignKey() line 172
- class-const ConstraintKind::Null() line 173
- class-const ConstraintKind::NotNull() line 173
- class-const ConstraintKind::Default() line 173
- class-const ConstraintKind::Identity() line 173
- class-const ConstraintKind::Generated() line 173
- class-const ConstraintKind::Check() line 173
- method-call Derivation::report() line 176
- new KindProblem line 176
public function triggered(
Derivation $derivation,
?RelationKind $kind,
Name $relation,
TriggerTiming $timing,
bool $row,
bool $truncate,
bool $constraint,
bool $transitions = false,
): voidReports a trigger the kind of its relation cannot have (CreateTriggerFiringOn).
A table or a foreign table has no INSTEAD OF trigger, a view no row trigger other than INSTEAD OF and no TRUNCATE trigger, a foreign table no constraint trigger, neither a view nor a foreign table a trigger with transition tables; a materialized view and a sequence have no trigger.
Parameters
$derivation | Derivation | |
$kind | ?RelationKind | |
$relation | Name | |
$timing | TriggerTiming | |
$row | bool | |
$truncate | bool | |
$constraint | bool | |
$transitions | bool |
Called from 2
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::deriveConstraint() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:87
Calls 12
- class-const RelationKind::BaseTable() line 193
- class-const TriggerTiming::InsteadOf() line 193
- class-const KindRule::TriggerOnTable() line 193
- class-const RelationKind::View() line 194
- class-const KindRule::TriggerOnView() line 194
- class-const RelationKind::ForeignTable() line 195
- class-const KindRule::TriggerOnForeignTable() line 195
- class-const RelationKind::MaterializedView() line 196
- class-const RelationKind::Sequence() line 196
- class-const KindRule::TriggersOnRelation() line 196
- method-call Derivation::report() line 200
- new KindProblem line 200
public function expected(ObjectKind $kind): array{RelationKind|null, KindRule}|nullAnswers the kind a relation kind keyword accepts and the rule a relation of another kind breaks; null for the kinds that name no relation.
Parameters
$kind | ObjectKind |
Returns
array{RelationKind|null, KindRule}|nullTest cases 1
Called from 3
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::named() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:99
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::altered() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:116
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::renamed() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:126
Calls 17
- class-const ObjectKind::Table() line 212
- class-const RelationKind::BaseTable() line 212
- class-const KindRule::NotTable() line 212
- class-const ObjectKind::View() line 213
- class-const RelationKind::View() line 213
- class-const KindRule::NotView() line 213
- class-const ObjectKind::MaterializedView() line 214
- class-const RelationKind::MaterializedView() line 214
- class-const KindRule::NotMaterializedView() line 214
- class-const ObjectKind::ForeignTable() line 215
- class-const RelationKind::ForeignTable() line 215
- class-const KindRule::NotForeignTable() line 215
- class-const ObjectKind::Sequence() line 216
- class-const RelationKind::Sequence() line 216
- class-const KindRule::NotSequence() line 216
- class-const ObjectKind::Index() line 217
- class-const KindRule::NotIndex() line 217
public function name(ObjectReference $object): ?QualifiedNameAnswers the relation name an object reference writes, or null when it writes none.
Parameters
$object | ObjectReference |
Returns
Test cases 1
Called from 2
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::named() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:104
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\RelationKinds::renamed() packages/sql-semantics-postgres/src/Rules/Table/RelationKinds.php:126
Calls 1
- method-call ObjectReference::qualified() line 229
Test cases 3§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Relations§
Instantiated in 30
- new SqlSemantics\Platform\PostgreSql\Rules\Manipulation\CopyFacts::table() packages/sql-semantics-postgres/src/Rules/Manipulation/CopyFacts.php:56
- new SqlSemantics\Platform\PostgreSql\Rules\Manipulation\ModificationScope::open() packages/sql-semantics-postgres/src/Rules/Manipulation/ModificationScope.php:50
- new SqlSemantics\Platform\PostgreSql\Rules\Query\Locking::kinds() packages/sql-semantics-postgres/src/Rules/Query/Locking.php:105
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::foreign() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:118
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::parent() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:126
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:69
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Policies::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Policies.php:40
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\RewriteRules::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/RewriteRules.php:43
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:66
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::deriveConstraint() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:86
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:72
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::elements() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:123
- new SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Indexes::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Indexes.php:45
- new SqlSemantics\Platform\PostgreSql\Rules\Table\ForeignKeys::derive() packages/sql-semantics-postgres/src/Rules/Table/ForeignKeys.php:66
- new SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\RelationsTarget::deriveTarget() packages/sql-semantics-postgres/src/Statement/Catalog/Access/Target/RelationsTarget.php:75
- new SqlSemantics\Platform\PostgreSql\Statement\Catalog\Extension\AlterExtensionContents::deriveStatement() packages/sql-semantics-postgres/src/Statement/Catalog/Extension/AlterExtensionContents.php:69
- new SqlSemantics\Platform\PostgreSql\Statement\Object\Comment::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Comment.php:53
- new SqlSemantics\Platform\PostgreSql\Statement\Object\Drop::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Drop.php:76
- new SqlSemantics\Platform\PostgreSql\Statement\Object\ExtensionDependency::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/ExtensionDependency.php:54
- new SqlSemantics\Platform\PostgreSql\Statement\Object\Rename::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Rename.php:80
- new SqlSemantics\Platform\PostgreSql\Statement\Object\SetSchema::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/SetSchema.php:56
- new SqlSemantics\Platform\PostgreSql\Statement\Table\Element\LikeClause::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Element/LikeClause.php:61
- new SqlSemantics\Platform\PostgreSql\Statement\Table\Index\CreateStatistics::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Index/CreateStatistics.php:82
- new SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\AlterSequence::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Sequence/AlterSequence.php:63
- new SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceReference::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Sequence/SequenceReference.php:52
- new SqlSemantics\Platform\PostgreSql\Statement\Table\TruncateTable::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/TruncateTable.php:60
- new SqlSemantics\Platform\PostgreSql\Statement\Table\View\RefreshMaterializedView::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/View/RefreshMaterializedView.php:56
- new SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Cluster::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Cluster.php:77
- new SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Lock::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Lock.php:67
- new SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Reindex::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Reindex.php:86
Method calls 50
- method-call SqlSemantics\Platform\PostgreSql\Rules\Manipulation\CopyFacts::table() packages/sql-semantics-postgres/src/Rules/Manipulation/CopyFacts.php:56
- method-call SqlSemantics\Platform\PostgreSql\Rules\Manipulation\ModificationScope::open() packages/sql-semantics-postgres/src/Rules/Manipulation/ModificationScope.php:51
- method-call SqlSemantics\Platform\PostgreSql\Rules\Manipulation\ModificationScope::open() packages/sql-semantics-postgres/src/Rules/Manipulation/ModificationScope.php:51
- method-call SqlSemantics\Platform\PostgreSql\Rules\Query\Locking::kinds() packages/sql-semantics-postgres/src/Rules/Query/Locking.php:107
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::foreign() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:118
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\AlterKinds::parent() packages/sql-semantics-postgres/src/Rules/Table/Command/AlterKinds.php:126
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:70
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:71
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Alterations::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Alterations.php:73
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Policies::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Policies.php:41
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Policies::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Policies.php:41
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\RewriteRules::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/RewriteRules.php:44
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\RewriteRules::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/RewriteRules.php:48
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::derive() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::deriveConstraint() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:87
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Command\Triggers::deriveConstraint() packages/sql-semantics-postgres/src/Rules/Table/Command/Triggers.php:87
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:72
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::elements() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:125
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Definitions::elements() packages/sql-semantics-postgres/src/Rules/Table/Definition/Definitions.php:126
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Indexes::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Indexes.php:46
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\Definition\Indexes::derive() packages/sql-semantics-postgres/src/Rules/Table/Definition/Indexes.php:46
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\ForeignKeys::derive() packages/sql-semantics-postgres/src/Rules/Table/ForeignKeys.php:67
- method-call SqlSemantics\Platform\PostgreSql\Rules\Table\ForeignKeys::derive() packages/sql-semantics-postgres/src/Rules/Table/ForeignKeys.php:67
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\RelationsTarget::deriveTarget() packages/sql-semantics-postgres/src/Statement/Catalog/Access/Target/RelationsTarget.php:77
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Access\Target\RelationsTarget::deriveTarget() packages/sql-semantics-postgres/src/Statement/Catalog/Access/Target/RelationsTarget.php:77
- method-call SqlSemantics\Platform\PostgreSql\Statement\Catalog\Extension\AlterExtensionContents::deriveStatement() packages/sql-semantics-postgres/src/Statement/Catalog/Extension/AlterExtensionContents.php:69
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Comment::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Comment.php:53
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Drop::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Drop.php:76
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\ExtensionDependency::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/ExtensionDependency.php:54
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\Rename::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/Rename.php:80
- method-call SqlSemantics\Platform\PostgreSql\Statement\Object\SetSchema::deriveStatement() packages/sql-semantics-postgres/src/Statement/Object/SetSchema.php:56
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Element\LikeClause::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Element/LikeClause.php:62
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Element\LikeClause::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Element/LikeClause.php:63
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Index\CreateStatistics::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Index/CreateStatistics.php:85
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Index\CreateStatistics::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Index/CreateStatistics.php:85
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\AlterSequence::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Sequence/AlterSequence.php:64
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\AlterSequence::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/Sequence/AlterSequence.php:65
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceReference::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Sequence/SequenceReference.php:53
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\Sequence\SequenceReference::deriveClause() packages/sql-semantics-postgres/src/Statement/Table/Sequence/SequenceReference.php:53
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\TruncateTable::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/TruncateTable.php:62
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\TruncateTable::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/TruncateTable.php:63
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\View\RefreshMaterializedView::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/View/RefreshMaterializedView.php:57
- method-call SqlSemantics\Platform\PostgreSql\Statement\Table\View\RefreshMaterializedView::deriveStatement() packages/sql-semantics-postgres/src/Statement/Table/View/RefreshMaterializedView.php:58
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Cluster::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Cluster.php:78
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Cluster::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Cluster.php:79
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Lock::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Lock.php:69
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Lock::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Lock.php:70
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Reindex::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Reindex.php:87
- method-call SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\Reindex::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Maintenance/Reindex.php:88