final class DefinitionFactory

Declares scanner values, fixed spellings, contextual domains and spacing for PostgreSQL 16.6 and 17.2. Source tag REL_17_2 matches pg-17.2 in resources/version.php; REL_16_6 (pg-16.6) declares a strict subset of its keywords with the same scanner rules, so both releases share these declarations.

Methods§

public function create(string $version): LexicalDefinition

Composes the selected release directly from the declarations in this file.

Parameters

$versionstring

Throws

RuntimeException When the exact release is unsupported
Test cases 18
Called from 1
Calls 22

Test cases 24§

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

Dedicated tests 18
Other tests reaching this symbol 6

Relations§

Instantiated in 1
Method calls 1