PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
snapshot.h File Reference
#include "access/htup.h"
#include "access/xlogdefs.h"
#include "datatype/timestamp.h"
#include "lib/pairingheap.h"
#include "storage/buf.h"
Include dependency graph for snapshot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SnapshotData
 

Macros

#define InvalidSnapshot   ((Snapshot) NULL)
 

Typedefs

typedef struct SnapshotDataSnapshot
 
typedef bool(* SnapshotSatisfiesFunc )(HeapTuple htup, Snapshot snapshot, Buffer buffer)
 
typedef struct SnapshotData SnapshotData
 

Enumerations

enum  HTSU_Result {
  HeapTupleMayBeUpdated, HeapTupleInvisible, HeapTupleSelfUpdated, HeapTupleUpdated,
  HeapTupleBeingUpdated, HeapTupleWouldBlock
}
 

Macro Definition Documentation

Typedef Documentation

Definition at line 23 of file snapshot.h.

typedef bool(* SnapshotSatisfiesFunc)(HeapTuple htup, Snapshot snapshot, Buffer buffer)

Definition at line 33 of file snapshot.h.

Enumeration Type Documentation

Enumerator
HeapTupleMayBeUpdated 
HeapTupleInvisible 
HeapTupleSelfUpdated 
HeapTupleUpdated 
HeapTupleBeingUpdated 
HeapTupleWouldBlock 

Definition at line 121 of file snapshot.h.