| 99 | extern volatile sig_atomic_t postmaster_possibly_dead; |
| 100 | |
| 101 | static inline bool |
| 102 | PostmasterIsAlive(void) |
| 103 | { |
| 104 | if (likely(!postmaster_possibly_dead)) |
| 105 | return true; |
| 106 | return PostmasterIsAliveInternal(); |
| 107 | } |
| 108 | #else |
| 109 | #define PostmasterIsAlive() PostmasterIsAliveInternal() |
| 110 | #endif |
no test coverage detected