Make postgres -d0 set server_min_messages to notice. Reset doesn't work
at this area in the code.
This commit is contained in:
parent
dcc59f8ed6
commit
1fe4cbb9db
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.295 2002/09/26 05:17:00 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.296 2002/09/27 03:34:15 momjian Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* this is the "main" module of the postgres backend and
|
* this is the "main" module of the postgres backend and
|
||||||
@ -1276,12 +1276,13 @@ PostgresMain(int argc, char *argv[], const char *username)
|
|||||||
SetConfigOption("debug_print_rewritten", "true", ctx, gucsource);
|
SetConfigOption("debug_print_rewritten", "true", ctx, gucsource);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* -d 0 allows user to prevent postmaster debug
|
* -d 0 allows user to prevent postmaster debug
|
||||||
* from propagating to backend.
|
* from propagating to backend. It would be nice
|
||||||
|
* to set it to the postgresql.conf value here.
|
||||||
*/
|
*/
|
||||||
ResetPGVariable("server_min_messages");
|
SetConfigOption("server_min_messages", "notice",
|
||||||
|
ctx, gucsource);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1697,7 +1698,7 @@ PostgresMain(int argc, char *argv[], const char *username)
|
|||||||
if (!IsUnderPostmaster)
|
if (!IsUnderPostmaster)
|
||||||
{
|
{
|
||||||
puts("\nPOSTGRES backend interactive interface ");
|
puts("\nPOSTGRES backend interactive interface ");
|
||||||
puts("$Revision: 1.295 $ $Date: 2002/09/26 05:17:00 $\n");
|
puts("$Revision: 1.296 $ $Date: 2002/09/27 03:34:15 $\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user