Changed change_settings.md
This commit is contained in:
parent
e5587043a9
commit
3d5dc3cc70
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user