Skip to content

Commit

Permalink
add a note for alter system set session var
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan committed Nov 26, 2024
1 parent b0dae86 commit 991b35f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions operate/view-configure-runtime-parameters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ For details about the `set_config()` function, see [System administration functi

You can also use the [ALTER SYSTEM SET](/sql/commands/sql-alter-system) command to set a system-wide default value for a runtime parameter. This configuration will then be applied to every new session.

<Note>
`ALTER SYSTEM SET` only takes effect for new sessions. The value of the runtime parameter will stay unchanged in the current session.
</Note>

```sql Syntax
ALTER SYSTEM SET session_param_name TO session_param_value;
```

0 comments on commit 991b35f

Please sign in to comment.