diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-06-25 08:40:16 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-06-25 08:40:16 +0900 |
commit | 797b0fc0b078c7b4c46ef9f2d9e47aa2d98c6c63 (patch) | |
tree | c7210601dac30751e09a3544e74d7ca691829afb /src | |
parent | 9b4e4cfe66ff133717c1b8ba3c2725d525c3e67c (diff) | |
download | postgresql-797b0fc0b078c7b4c46ef9f2d9e47aa2d98c6c63.tar.gz postgresql-797b0fc0b078c7b4c46ef9f2d9e47aa2d98c6c63.zip |
doc: Move remove_temp_files_after_crash to section for developer options
The main goal of this option is to allow inspecting temporary files for
debugging purposes, so moving the parameter there is natural.
Oversight in cd91de0.
Reported-by: Justin Pryzby
Author: Euler Taveira
Discussion: https://postgr.es/m/20210612004347.GP16435@telsasoft.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/guc.c | 5 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 68b62d523dc..eaeeee58a0b 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -1404,9 +1404,10 @@ static struct config_bool ConfigureNamesBool[] = NULL, NULL, NULL }, { - {"remove_temp_files_after_crash", PGC_SIGHUP, ERROR_HANDLING_OPTIONS, + {"remove_temp_files_after_crash", PGC_SIGHUP, DEVELOPER_OPTIONS, gettext_noop("Remove temporary files after backend crash."), - NULL + NULL, + GUC_NOT_IN_SAMPLE }, &remove_temp_files_after_crash, true, diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index ddbb6dc2be2..a5a7174b0e7 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -768,8 +768,6 @@ #exit_on_error = off # terminate session on any error? #restart_after_crash = on # reinitialize after backend crash? -#remove_temp_files_after_crash = on # remove temporary files after - # backend crash? #data_sync_retry = off # retry or panic on failure to fsync # data? # (change requires restart) |