SET

Synopsis

Use the SET statement to update a run-time control parameter.

Syntax

  1. set ::= SET [ SESSION | LOCAL ] { configuration_parameter { TO | = }
  2. { value | DEFAULT }
  3. | TIME ZONE
  4. { timezone | LOCAL | DEFAULT } }

set

SET - 图1

Semantics

Although the values of a parameter can be set, displayed, and reset, the effect of these parameters are not yet supported in YugabyteDB. The default settings and behaviors will be used for the moment.

SESSION

Specify that the command affects only the current session.

LOCAL

Specify that the command affects only the current transaction. After COMMIT or ROLLBACK, the session-level setting takes effect again.

configuration_parameter

Specify the name of a mutable run-time parameter.

value

Specify the new value of parameter.

See also