aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2018-07-06 07:29:12 -0400
committerAndrew Dunstan <andrew@dunslane.net>2018-07-06 07:29:12 -0400
commit8fb68aa2655762beed237ea04e2c6c490cf1ed10 (patch)
treeb4d5198b11e5e11c09e8b34b81e5e9e1da02b790 /src
parent4513d3a4be0bb7d0141f8b7eaf669a55c08e41b0 (diff)
downloadpostgresql-8fb68aa2655762beed237ea04e2c6c490cf1ed10.tar.gz
postgresql-8fb68aa2655762beed237ea04e2c6c490cf1ed10.zip
Print DEBUG2 like that rather than as DEBUG
DEBUG is an alias for DEBUG2, but we want DEBUG2 to show in the settings no matter how it was spelled. Takeshi Ideriha Discussion: https://postgr.es/m/4E72940DA2BF16479384A86D54D0988A5678EC03@G01JPEXMBKW04
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/misc/guc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index b05fb209bba..17292e04fed 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -216,12 +216,12 @@ static const struct config_enum_entry bytea_output_options[] = {
* they sort slightly different (see "log" level)
*/
static const struct config_enum_entry client_message_level_options[] = {
- {"debug", DEBUG2, true},
{"debug5", DEBUG5, false},
{"debug4", DEBUG4, false},
{"debug3", DEBUG3, false},
{"debug2", DEBUG2, false},
{"debug1", DEBUG1, false},
+ {"debug", DEBUG2, true},
{"log", LOG, false},
{"info", INFO, true},
{"notice", NOTICE, false},
@@ -233,12 +233,12 @@ static const struct config_enum_entry client_message_level_options[] = {
};
static const struct config_enum_entry server_message_level_options[] = {
- {"debug", DEBUG2, true},
{"debug5", DEBUG5, false},
{"debug4", DEBUG4, false},
{"debug3", DEBUG3, false},
{"debug2", DEBUG2, false},
{"debug1", DEBUG1, false},
+ {"debug", DEBUG2, true},
{"info", INFO, false},
{"notice", NOTICE, false},
{"warning", WARNING, false},