Make sure elog behaves sanely if invoked before GUC initializes.
This commit is contained in:
parent
d7013b0f15
commit
2ac8c96ecb
@ -37,7 +37,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.137 2004/05/21 05:08:02 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.138 2004/05/28 03:11:15 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -69,7 +69,7 @@ ErrorContextCallback *error_context_stack = NULL;
|
|||||||
/* GUC parameters */
|
/* GUC parameters */
|
||||||
PGErrorVerbosity Log_error_verbosity = PGERROR_VERBOSE;
|
PGErrorVerbosity Log_error_verbosity = PGERROR_VERBOSE;
|
||||||
char *Log_line_prefix = NULL; /* format for extra log line info */
|
char *Log_line_prefix = NULL; /* format for extra log line info */
|
||||||
unsigned int Log_destination;
|
unsigned int Log_destination = LOG_DESTINATION_STDERR;
|
||||||
|
|
||||||
bool in_fatal_exit = false;
|
bool in_fatal_exit = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user