diff options
Diffstat (limited to 'src/include/utils/lockwaitpolicy.h')
-rw-r--r-- | src/include/utils/lockwaitpolicy.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/include/utils/lockwaitpolicy.h b/src/include/utils/lockwaitpolicy.h deleted file mode 100644 index 92fc20fbfa8..00000000000 --- a/src/include/utils/lockwaitpolicy.h +++ /dev/null @@ -1,31 +0,0 @@ -/*------------------------------------------------------------------------- - * lockwaitpolicy.h - * Header file for LockWaitPolicy enum. - * - * Copyright (c) 2014-2015, PostgreSQL Global Development Group - * - * src/include/utils/lockwaitpolicy.h - *------------------------------------------------------------------------- - */ -#ifndef LOCKWAITPOLICY_H -#define LOCKWAITPOLICY_H - -/* - * This enum controls how to deal with rows being locked by FOR UPDATE/SHARE - * clauses (i.e., NOWAIT and SKIP LOCKED clauses). The ordering here is - * important, because the highest numerical value takes precedence when a - * RTE is specified multiple ways. See applyLockingClause. - */ -typedef enum -{ - /* Wait for the lock to become available (default behavior) */ - LockWaitBlock, - - /* Skip rows that can't be locked (SKIP LOCKED) */ - LockWaitSkip, - - /* Raise an error if a row cannot be locked (NOWAIT) */ - LockWaitError -} LockWaitPolicy; - -#endif /* LOCKWAITPOLICY_H */ |