From aae078198dd4b9cbb3590262dcb65d0b735c80d7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 28 May 2003 17:25:02 +0000 Subject: In bootstrap and standalone-backend modes, do not sort LOG elevel out of order; the 'server log' output is actually client output in these scenarios and we ought to treat elevels the same way as in the client case. This allows initdb to not send backend stderr to /dev/null anymore, which makes it much more likely that people will notice problems during initdb. --- src/backend/utils/init/globals.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/backend/utils/init/globals.c') diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index 8a707165ec5..a4b0889e4fa 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.69 2003/02/22 05:57:45 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.70 2003/05/28 17:25:02 tgl Exp $ * * NOTES * Globals used all over the place should be declared here and not @@ -57,6 +57,8 @@ char *DatabasePath = NULL; Oid MyDatabaseId = InvalidOid; +/* these are initialized for the bootstrap/standalone case: */ +bool IsPostmasterEnvironment = false; bool IsUnderPostmaster = false; int DateStyle = USE_ISO_DATES; -- cgit v1.2.3