Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8fb68aa

Browse files
committed
Print DEBUG2 like that rather than as DEBUG
DEBUG is an alias for DEBUG2, but we want DEBUG2 to show in the settingsno matter how it was spelled.Takeshi IderihaDiscussion:https://postgr.es/m/4E72940DA2BF16479384A86D54D0988A5678EC03@G01JPEXMBKW04
1 parent4513d3a commit8fb68aa

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/misc

1 file changed

+2
-2
lines changed

‎src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,12 @@ static const struct config_enum_entry bytea_output_options[] = {
216216
* they sort slightly different (see "log" level)
217217
*/
218218
staticconststructconfig_enum_entryclient_message_level_options[]= {
219-
{"debug",DEBUG2, true},
220219
{"debug5",DEBUG5, false},
221220
{"debug4",DEBUG4, false},
222221
{"debug3",DEBUG3, false},
223222
{"debug2",DEBUG2, false},
224223
{"debug1",DEBUG1, false},
224+
{"debug",DEBUG2, true},
225225
{"log",LOG, false},
226226
{"info",INFO, true},
227227
{"notice",NOTICE, false},
@@ -233,12 +233,12 @@ static const struct config_enum_entry client_message_level_options[] = {
233233
};
234234

235235
staticconststructconfig_enum_entryserver_message_level_options[]= {
236-
{"debug",DEBUG2, true},
237236
{"debug5",DEBUG5, false},
238237
{"debug4",DEBUG4, false},
239238
{"debug3",DEBUG3, false},
240239
{"debug2",DEBUG2, false},
241240
{"debug1",DEBUG1, false},
241+
{"debug",DEBUG2, true},
242242
{"info",INFO, false},
243243
{"notice",NOTICE, false},
244244
{"warning",WARNING, false},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp