forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit93a0bf2
committed
Set pg_setting.pending_restart when pertinent config lines are removed
This changes the behavior of examining the pg_file_settings view afterchanging a config option that requires restart. The user needs to knowthat any change of such options does not take effect until a restart,and this worked correctly if the line is edited without removing it.However, for the case where the line is removed altogether, the flagdoesn't get set, because a flag was only set in set_config_option, butthat's not called for lines removed. Repair.(Ref.: commits62d16c7 anda486e35)Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/202107262302.xsfdfc5sb7sh@alvherre.pgsql1 parent336ea6e commit93a0bf2
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
346 | 346 |
| |
347 | 347 |
| |
348 | 348 |
| |
| 349 | + | |
| 350 | + | |
349 | 351 |
| |
350 | 352 |
| |
351 | 353 |
| |
|
0 commit comments
Comments
(0)