Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Structures | Defines | Typedefs | Enumerations

snapshot.h File Reference

#include "access/htup.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

Defines

#define InvalidSnapshot   ((Snapshot) NULL)

Typedefs

typedef struct SnapshotDataSnapshot
typedef bool(* SnapshotSatisfiesFunc )(HeapTupleHeader tuple, Snapshot snapshot, Buffer buffer)
typedef struct SnapshotData SnapshotData

Enumerations

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

Define Documentation

#define InvalidSnapshot   ((Snapshot) NULL)

Typedef Documentation

typedef struct SnapshotData* Snapshot

Definition at line 20 of file snapshot.h.

typedef struct SnapshotData SnapshotData
typedef bool(* SnapshotSatisfiesFunc)(HeapTupleHeader tuple, Snapshot snapshot, Buffer buffer)

Definition at line 30 of file snapshot.h.


Enumeration Type Documentation

Enumerator:
HeapTupleMayBeUpdated 
HeapTupleInvisible 
HeapTupleSelfUpdated 
HeapTupleUpdated 
HeapTupleBeingUpdated 

Definition at line 71 of file snapshot.h.

{
    HeapTupleMayBeUpdated,
    HeapTupleInvisible,
    HeapTupleSelfUpdated,
    HeapTupleUpdated,
    HeapTupleBeingUpdated
} HTSU_Result;