2011-11-02 15:25:01 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* startup.h
|
|
|
|
* Exports from postmaster/startup.c.
|
|
|
|
*
|
2015-01-06 17:43:47 +01:00
|
|
|
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
2011-11-02 15:25:01 +01:00
|
|
|
*
|
|
|
|
* src/include/postmaster/startup.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef _STARTUP_H
|
|
|
|
#define _STARTUP_H
|
|
|
|
|
|
|
|
extern void HandleStartupProcInterrupts(void);
|
2015-03-26 19:03:19 +01:00
|
|
|
extern void StartupProcessMain(void) pg_attribute_noreturn();
|
2011-11-02 15:25:01 +01:00
|
|
|
extern void PreRestoreCommand(void);
|
|
|
|
extern void PostRestoreCommand(void);
|
|
|
|
extern bool IsPromoteTriggered(void);
|
|
|
|
extern void ResetPromoteTriggered(void);
|
|
|
|
|
|
|
|
#endif /* _STARTUP_H */
|