summaryrefslogtreecommitdiff
path: root/src/include/bootstrap/bootstrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/bootstrap/bootstrap.h')
-rw-r--r--src/include/bootstrap/bootstrap.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h
index 25772ce606..bbde68ea1b 100644
--- a/src/include/bootstrap/bootstrap.h
+++ b/src/include/bootstrap/bootstrap.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.45 2007/01/05 22:19:51 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/bootstrap/bootstrap.h,v 1.46 2007/03/07 13:35:03 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -32,7 +32,7 @@ typedef struct hashnode
extern Relation boot_reldesc;
extern Form_pg_attribute attrtypes[MAXATTR];
extern int numattr;
-extern int BootstrapMain(int argc, char *argv[]);
+extern void AuxiliaryProcessMain(int argc, char *argv[]);
extern void index_register(Oid heap, Oid ind, IndexInfo *indexInfo);
@@ -64,9 +64,12 @@ extern int boot_yyparse(void);
extern int boot_yylex(void);
extern void boot_yyerror(const char *str);
-#define BS_XLOG_NOP 0
-#define BS_XLOG_BOOTSTRAP 1
-#define BS_XLOG_STARTUP 2
-#define BS_XLOG_BGWRITER 3
+typedef enum
+{
+ CheckerProcess,
+ BootstrapProcess,
+ StartupProcess,
+ BgWriterProcess
+} AuxProcType;
#endif /* BOOTSTRAP_H */