diff options
Diffstat (limited to 'src/include/storage/sinval.h')
-rw-r--r-- | src/include/storage/sinval.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/storage/sinval.h b/src/include/storage/sinval.h index 1a6f2dfd38b..d9ffd7228fe 100644 --- a/src/include/storage/sinval.h +++ b/src/include/storage/sinval.h @@ -14,8 +14,9 @@ #ifndef SINVAL_H #define SINVAL_H -#include "storage/relfilenode.h" +#include <signal.h> +#include "storage/relfilenode.h" /* * We support several types of shared-invalidation messages: @@ -123,6 +124,7 @@ typedef union /* Counter of messages processed; don't worry about overflow. */ extern uint64 SharedInvalidMessageCounter; +extern volatile sig_atomic_t catchupInterruptPending; extern void SendSharedInvalidMessages(const SharedInvalidationMessage *msgs, int n); @@ -138,8 +140,7 @@ extern void HandleCatchupInterrupt(void); * The enable routine first performs processing of any catchup events that * have occurred since the last disable. */ -extern void EnableCatchupInterrupt(void); -extern bool DisableCatchupInterrupt(void); +extern void ProcessCatchupInterrupt(void); extern int xactGetCommittedInvalidationMessages(SharedInvalidationMessage **msgs, bool *RelcacheInitFileInval); |