1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * startup.h |
4 | * Exports from postmaster/startup.c. |
5 | * |
6 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
7 | * |
8 | * src/include/postmaster/startup.h |
9 | * |
10 | *------------------------------------------------------------------------- |
11 | */ |
12 | #ifndef _STARTUP_H |
13 | #define _STARTUP_H |
14 | |
15 | extern void HandleStartupProcInterrupts(void); |
16 | extern void StartupProcessMain(void) pg_attribute_noreturn(); |
17 | extern void PreRestoreCommand(void); |
18 | extern void PostRestoreCommand(void); |
19 | extern bool IsPromoteTriggered(void); |
20 | extern void ResetPromoteTriggered(void); |
21 | |
22 | #endif /* _STARTUP_H */ |
23 | |