Changed change_settings.md

This commit is contained in:
David Leutgeb 2022-07-07 10:45:03 +02:00
parent e5587043a9
commit 3d5dc3cc70
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# How to reload config changes during the runtime (SIGHUP)? ## How to reload config changes during the runtime (SIGHUP)?
``` ```
select pg_reload_conf(); select pg_reload_conf();
``` ```
# Does changing a config setting require a restart of postgresql or just a reload (SIGHUP)? ## Does changing a config setting require a restart of postgresql or just a reload (SIGHUP)?
This can be archived by simply selecting the setting from pg_settings. This can be archived by simply selecting the setting from pg_settings.
@ -12,7 +12,7 @@ This can be archived by simply selecting the setting from pg_settings.
select context from pg_settings where name='max_wal_size'; select context from pg_settings where name='max_wal_size';
``` ```
# Is a restart of postgresql required? ## Is a restart of postgresql required?
``` ```
select pending_restart from pg_settings where name='max_wal_size'; select pending_restart from pg_settings where name='max_wal_size';