PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
lockoptions.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum LockClauseStrength LockClauseStrength
 
typedef enum LockWaitPolicy LockWaitPolicy
 

Enumerations

enum  LockClauseStrength {
  LCS_NONE, LCS_FORKEYSHARE, LCS_FORSHARE, LCS_FORNOKEYUPDATE,
  LCS_FORUPDATE
}
 
enum  LockWaitPolicy { LockWaitBlock, LockWaitSkip, LockWaitError }
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
LCS_NONE 
LCS_FORKEYSHARE 
LCS_FORSHARE 
LCS_FORNOKEYUPDATE 
LCS_FORUPDATE 

Definition at line 21 of file lockoptions.h.

22 {
23  LCS_NONE, /* no such clause - only used in PlanRowMark */
24  LCS_FORKEYSHARE, /* FOR KEY SHARE */
25  LCS_FORSHARE, /* FOR SHARE */
26  LCS_FORNOKEYUPDATE, /* FOR NO KEY UPDATE */
27  LCS_FORUPDATE /* FOR UPDATE */
LockClauseStrength
Definition: lockoptions.h:21
Enumerator
LockWaitBlock 
LockWaitSkip 
LockWaitError 

Definition at line 36 of file lockoptions.h.

37 {
38  /* Wait for the lock to become available (default behavior) */
40  /* Skip rows that can't be locked (SKIP LOCKED) */
42  /* Raise an error if a row cannot be locked (NOWAIT) */
LockWaitPolicy
Definition: lockoptions.h:36