final class RefreshCollationVersion
    implements Statement
    uses Snapshot
Public API: explicitly declared with @visibility public.

A request to record the current version of a collation: ALTER COLLATION name REFRESH VERSION.

Rule: PG-COLLATION-001. Mirrors AlterCollationStmt. Source: https://www.postgresql.org/docs/17/sql-altercollation.html. Status: Implemented.

Reading the collationdoctest
$operation = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('ALTER COLLATION "de_DE" REFRESH VERSION');
    $operation->statement->name->last()->value // => 'de_DE'

Properties§

public DottedName $name

Methods§

public function __construct(public DottedName $name)

Parameters

$nameDottedNameThe collation name
public function deriveStatement(Derivation $derivation): void

Derives nothing: collations are not part of a declaration context.

Parameters

$derivationDerivation
public function render(Output $out): void

Writes the request.

Parameters

$outOutput
Calls 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 1