aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-05-28 18:19:09 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-05-28 18:19:09 +0000
commit4df52b28f04669a23d7748af0a6d21b33fdda5df (patch)
treea71069ad1c7922304bfee395e5fe57a35ce135fa /src/include/miscadmin.h
parentaae078198dd4b9cbb3590262dcb65d0b735c80d7 (diff)
downloadpostgresql-4df52b28f04669a23d7748af0a6d21b33fdda5df.tar.gz
postgresql-4df52b28f04669a23d7748af0a6d21b33fdda5df.zip
Fix things so that an error occuring during standalone-backend processing
in initdb will result in exit(1), allowing the initdb script to realize that there's something wrong.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 8621722bad2..1ea326e1973 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: miscadmin.h,v 1.122 2003/05/28 17:25:02 tgl Exp $
+ * $Id: miscadmin.h,v 1.123 2003/05/28 18:19:09 tgl Exp $
*
* NOTES
* some of the information in this file should be moved to
@@ -104,8 +104,6 @@ extern void ProcessInterrupts(void);
/*
* from postmaster/postmaster.c
*/
-extern bool IsPostmasterEnvironment;
-extern bool IsUnderPostmaster;
extern bool ClientAuthInProgress;
extern const bool ExecBackend;
@@ -115,6 +113,11 @@ extern void ClosePostmasterPorts(bool pgstat_too);
/*
* from utils/init/globals.c
*/
+extern bool IsPostmasterEnvironment;
+extern bool IsUnderPostmaster;
+
+extern bool ExitOnAnyError;
+
extern bool Noversion;
extern char *DataDir;