diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-28 17:25:02 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-28 17:25:02 +0000 |
commit | aae078198dd4b9cbb3590262dcb65d0b735c80d7 (patch) | |
tree | c1b857232a22e89f9eaf36a363e8b9c8cdaf5d7b /src/backend/utils/init/globals.c | |
parent | fc8d970cbcdd6f025475822a4cf01dfda0873226 (diff) |
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.
Diffstat (limited to 'src/backend/utils/init/globals.c')
-rw-r--r-- | src/backend/utils/init/globals.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |