enumSpecialSetting
enum SpecialSetting: string
@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.
\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(): ?stringAnswers the name of the configuration parameter the setting changes; null when it changes no parameter.
Returns
?stringCalls 7
- class-const SpecialSetting::Catalog() line 38
- class-const SpecialSetting::TransactionSnapshot() line 38
- class-const SpecialSetting::Schema() line 39
- class-const SpecialSetting::Names() line 40
- class-const SpecialSetting::Role() line 41
- class-const SpecialSetting::SessionAuthorization() line 42
- class-const SpecialSetting::XmlOption() line 43
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
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:164
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:165
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:167
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:168
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:169
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:170
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::more() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:171
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::names() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:233
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::names() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:234
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Utility\SettingRule::names() packages/sql-semantics-postgres/src/Lowering/Utility/SettingRule.php:235
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:56
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:56
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:56
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:57
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:58
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:59
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::__construct() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:60
- class-const SqlSemantics\Platform\PostgreSql\Statement\Utility\Session\SetSpecialSetting::deriveStatement() packages/sql-semantics-postgres/src/Statement/Utility/Session/SetSpecialSetting.php:69