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

Commit1fe4cbb

Browse files
committed
Make postgres -d0 set server_min_messages to notice. Reset doesn't work
at this area in the code.
1 parentdcc59f8 commit1fe4cbb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.295 2002/09/26 05:17:00 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.296 2002/09/27 03:34:15 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1276,12 +1276,13 @@ PostgresMain(int argc, char *argv[], const char *username)
12761276
SetConfigOption("debug_print_rewritten","true",ctx,gucsource);
12771277
}
12781278
else
1279-
12801279
/*
12811280
* -d 0 allows user to prevent postmaster debug
1282-
* from propagating to backend.
1281+
* from propagating to backend. It would be nice
1282+
* to set it to the postgresql.conf value here.
12831283
*/
1284-
ResetPGVariable("server_min_messages");
1284+
SetConfigOption("server_min_messages","notice",
1285+
ctx,gucsource);
12851286
}
12861287
break;
12871288

@@ -1697,7 +1698,7 @@ PostgresMain(int argc, char *argv[], const char *username)
16971698
if (!IsUnderPostmaster)
16981699
{
16991700
puts("\nPOSTGRES backend interactive interface ");
1700-
puts("$Revision: 1.295 $ $Date: 2002/09/26 05:17:00 $\n");
1701+
puts("$Revision: 1.296 $ $Date: 2002/09/27 03:34:15 $\n");
17011702
}
17021703

17031704
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp