diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-02 14:25:01 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-02 14:25:01 +0000 |
commit | 9aceb6ab3c202a5bf00d5f00436bb6ad285fc0bf (patch) | |
tree | a4ec05fb44b3356827a4cb6fd7649126fb1614f7 /src/include/postmaster/startup.h | |
parent | 86e33648992cfc104836ab1fbb6e654308beb4a5 (diff) | |
download | postgresql-9aceb6ab3c202a5bf00d5f00436bb6ad285fc0bf.tar.gz |
Refactor xlog.c to create src/backend/postmaster/startup.c
Startup process now has its own dedicated file, just like all other
special/background processes. Reduces role and size of xlog.c
Diffstat (limited to 'src/include/postmaster/startup.h')
-rw-r--r-- | src/include/postmaster/startup.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/postmaster/startup.h b/src/include/postmaster/startup.h new file mode 100644 index 0000000000..8c57adf0bb --- /dev/null +++ b/src/include/postmaster/startup.h @@ -0,0 +1,22 @@ +/*------------------------------------------------------------------------- + * + * startup.h + * Exports from postmaster/startup.c. + * + * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group + * + * src/include/postmaster/startup.h + * + *------------------------------------------------------------------------- + */ +#ifndef _STARTUP_H +#define _STARTUP_H + +extern void HandleStartupProcInterrupts(void); +extern void StartupProcessMain(void); +extern void PreRestoreCommand(void); +extern void PostRestoreCommand(void); +extern bool IsPromoteTriggered(void); +extern void ResetPromoteTriggered(void); + +#endif /* _STARTUP_H */ |