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/postmaster/postmaster.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/postmaster/postmaster.c')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 77aff02b150..e860fe129c6 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.329 2003/05/27 17:49:46 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.330 2003/05/28 17:25:02 tgl Exp $ * * NOTES * @@ -379,6 +379,8 @@ PostmasterMain(int argc, char *argv[]) progname = argv[0]; + IsPostmasterEnvironment = true; + /* * Catch standard options before doing much else. This even works on * systems without getopt_long. |