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

CHECKPOINT: a request to force a write-ahead log checkpoint.

Rule: PG-CHECKPOINT-001. Mirrors PostgreSQL's CheckPointStmt, which has no operand. Facts: none. Source: https://www.postgresql.org/docs/17/sql-checkpoint.html. Status: Implemented.

Writing a checkpoint requestdoctest
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('checkpoint')->toString() // => 'CHECKPOINT'

Methods§

public function deriveStatement(Derivation $derivation): void

Derives nothing: a checkpoint names nothing.

Parameters

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

Writes the request.

Parameters

$outOutput
Calls 1

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§

Instantiated in 1