enum Parallelism: string
    implements Choice
Public API: explicitly declared with @visibility public.

The parallel attribute of an aggregate: whether it is safe to run in parallel mode.

DefineAggregate compares the text with safe, restricted and unsafe exactly, so a quoted 'SAFE' is rejected while an unquoted SAFE is folded to lower case and accepted. Source: https://www.postgresql.org/docs/17/sql-createaggregate.html, DefineAggregate in src/backend/commands/aggregatecmds.c of PostgreSQL 17.

Reading a parallel modedoctest
\SqlSemantics\Platform\PostgreSql\Statement\Object\Attribute\Choice\Parallelism::read('SAFE') // => null

Cases§

case Safe = 'safe'
case Restricted = 'restricted'
case Unsafe = 'unsafe'

Methods§

public static function read(string $text): ?self

Answers the mode the text names exactly, or null.

Parameters

$textstring

Returns

?self
Test cases 1
Calls 1

Test cases 6§

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 5

Relations§

Constant reads 1