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

The settings SET writes with keywords of their own.

Each stands for a parameter or a session property: SCHEMA sets search_path, NAMES sets client_encoding, ROLE sets the current role, SESSION AUTHORIZATION the session user, XML OPTION sets xmloption, TRANSACTION SNAPSHOT imports a snapshot, and CATALOG would change the database, which the server refuses. The value is the keyword spelling. Source: https://www.postgresql.org/docs/17/sql-set.html, https://www.postgresql.org/docs/17/sql-set-role.html, https://www.postgresql.org/docs/17/sql-set-session-authorization.html, https://www.postgresql.org/docs/17/sql-set-transaction.html.

Reading the parameter SET SCHEMA changesdoctest
\SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SpecialSetting::Schema->parameter() // => 'search_path'

Cases§

case Catalog = 'CATALOG'
case Schema = 'SCHEMA'
case Names = 'NAMES'
case Role = 'ROLE'
case SessionAuthorization = 'SESSION AUTHORIZATION'
case XmlOption = 'XML OPTION'
case TransactionSnapshot = 'TRANSACTION SNAPSHOT'

Methods§

public function parameter(): ?string

Answers the name of the configuration parameter the setting changes; null when it changes no parameter.

Returns

?string
Calls 7

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§

Constant reads 18
Type declarations 1