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/postmaster/postmaster.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/backend/postmaster/postmaster.c') 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. -- cgit v1.2.3