diff options
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 31f7099a635..e10aafe99e4 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -15,7 +15,6 @@ #define _PROC_H_ #include "access/xlogdefs.h" -#include "datatype/timestamp.h" #include "storage/latch.h" #include "storage/lock.h" #include "storage/pg_sema.h" @@ -222,8 +221,6 @@ extern int DeadlockTimeout; extern int StatementTimeout; extern bool log_lock_waits; -extern volatile bool cancel_from_timeout; - /* * Function Prototypes @@ -246,19 +243,11 @@ extern void ProcQueueInit(PROC_QUEUE *queue); extern int ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable); extern PGPROC *ProcWakeup(PGPROC *proc, int waitStatus); extern void ProcLockWakeup(LockMethod lockMethodTable, LOCK *lock); +extern void CheckDeadLock(void); extern bool IsWaitingForLock(void); extern void LockErrorCleanup(void); extern void ProcWaitForSignal(void); extern void ProcSendSignal(int pid); -extern bool enable_sig_alarm(int delayms, bool is_statement_timeout); -extern bool disable_sig_alarm(bool is_statement_timeout); -extern void handle_sig_alarm(SIGNAL_ARGS); - -extern bool enable_standby_sig_alarm(TimestampTz now, - TimestampTz fin_time, bool deadlock_only); -extern bool disable_standby_sig_alarm(void); -extern void handle_standby_sig_alarm(SIGNAL_ARGS); - #endif /* PROC_H */ |