Skip to content

Commit 2ac8c96

Browse files
committed
Make sure elog behaves sanely if invoked before GUC initializes.
1 parent d7013b0 commit 2ac8c96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/error/elog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.137 2004/05/21 05:08:02 tgl Exp $
40+
* $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.138 2004/05/28 03:11:15 tgl Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -69,7 +69,7 @@ ErrorContextCallback *error_context_stack = NULL;
6969
/* GUC parameters */
7070
PGErrorVerbosity Log_error_verbosity = PGERROR_VERBOSE;
7171
char *Log_line_prefix = NULL; /* format for extra log line info */
72-
unsigned int Log_destination;
72+
unsigned int Log_destination = LOG_DESTINATION_STDERR;
7373

7474
bool in_fatal_exit = false;
7575

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy