enum ReindexTarget: string
Public API: explicitly declared with @visibility public.

What REINDEX rebuilds the indexes of.

Mirrors PostgreSQL's ReindexObjectType. The value is the keyword. Source: https://www.postgresql.org/docs/17/sql-reindex.html.

Telling which targets are named by a relation namedoctest
[\SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\ReindexTarget::Table->relation(), \SqlSemantics\Platform\PostgreSql\Statement\Utility\Maintenance\ReindexTarget::Schema->relation()] // => [true, false]

Cases§

case Index = 'INDEX'
case Table = 'TABLE'
case Schema = 'SCHEMA'
case System = 'SYSTEM'
case Database = 'DATABASE'

Methods§

public function relation(): bool

Tells whether the target is named by a possibly schema-qualified relation name.

Returns

bool
Test cases 1
Calls 2

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Constant reads 12
Type declarations 2