#include "access/htup.h"
#include "access/xact.h"
#include "storage/buf.h"
Ir al código fuente de este archivo.
Clases |
struct | SnapshotData |
'defines' |
#define | InvalidSnapshot ((Snapshot) 0x0) |
#define | SnapshotNow ((Snapshot) 0x1) |
#define | SnapshotSelf ((Snapshot) 0x2) |
#define | SnapshotAny ((Snapshot) 0x3) |
#define | SnapshotToast ((Snapshot) 0x4) |
#define | HeapTupleSatisfiesVisibility(tuple, snapshot, buffer) |
'typedefs' |
typedef struct SnapshotData | SnapshotData |
typedef SnapshotData * | Snapshot |
Enumeraciones |
enum | HTSU_Result {
HeapTupleMayBeUpdated,
HeapTupleInvisible,
HeapTupleSelfUpdated,
HeapTupleUpdated,
HeapTupleBeingUpdated
} |
enum | HTSV_Result {
HEAPTUPLE_DEAD,
HEAPTUPLE_LIVE,
HEAPTUPLE_RECENTLY_DEAD,
HEAPTUPLE_INSERT_IN_PROGRESS,
HEAPTUPLE_DELETE_IN_PROGRESS
} |
Funciones |
bool | HeapTupleSatisfiesItself (HeapTupleHeader tuple, Buffer buffer) |
bool | HeapTupleSatisfiesNow (HeapTupleHeader tuple, Buffer buffer) |
bool | HeapTupleSatisfiesDirty (HeapTupleHeader tuple, Buffer buffer) |
bool | HeapTupleSatisfiesToast (HeapTupleHeader tuple, Buffer buffer) |
bool | HeapTupleSatisfiesSnapshot (HeapTupleHeader tuple, Snapshot snapshot, Buffer buffer) |
HTSU_Result | HeapTupleSatisfiesUpdate (HeapTupleHeader tuple, CommandId curcid, Buffer buffer) |
HTSV_Result | HeapTupleSatisfiesVacuum (HeapTupleHeader tuple, TransactionId OldestXmin, Buffer buffer) |
Snapshot | GetTransactionSnapshot (void) |
Snapshot | GetLatestSnapshot (void) |
Snapshot | CopySnapshot (Snapshot snapshot) |
void | FreeSnapshot (Snapshot snapshot) |
void | FreeXactSnapshot (void) |
Snapshot | GetSnapshotData (Snapshot snapshot, bool serializable) |
Variables |
DLLIMPORT Snapshot | SnapshotDirty |
DLLIMPORT Snapshot | SerializableSnapshot |
DLLIMPORT Snapshot | LatestSnapshot |
DLLIMPORT Snapshot | ActiveSnapshot |
TransactionId | TransactionXmin |
TransactionId | RecentXmin |
TransactionId | RecentGlobalXmin |
Documentación de los 'defines'
#define HeapTupleSatisfiesVisibility |
( |
|
tuple, |
|
|
|
snapshot, |
|
|
|
buffer |
|
) |
| |
#define InvalidSnapshot ((Snapshot) 0x0) |
Documentación de los 'typedefs'
Documentación de las enumeraciones
- Valores de enumeraciones:
HeapTupleMayBeUpdated |
|
HeapTupleInvisible |
|
HeapTupleSelfUpdated |
|
HeapTupleUpdated |
|
HeapTupleBeingUpdated |
|
- Valores de enumeraciones:
HEAPTUPLE_DEAD |
|
HEAPTUPLE_LIVE |
|
HEAPTUPLE_RECENTLY_DEAD |
|
HEAPTUPLE_INSERT_IN_PROGRESS |
|
HEAPTUPLE_DELETE_IN_PROGRESS |
|
Documentación de las funciones
void FreeXactSnapshot |
( |
void |
| ) |
|
Snapshot GetTransactionSnapshot |
( |
void |
| ) |
|
bool HeapTupleSatisfiesDirty |
( |
HeapTupleHeader |
tuple, |
|
|
Buffer |
buffer |
|
) |
| |
bool HeapTupleSatisfiesItself |
( |
HeapTupleHeader |
tuple, |
|
|
Buffer |
buffer |
|
) |
| |
bool HeapTupleSatisfiesNow |
( |
HeapTupleHeader |
tuple, |
|
|
Buffer |
buffer |
|
) |
| |
bool HeapTupleSatisfiesSnapshot |
( |
HeapTupleHeader |
tuple, |
|
|
Snapshot |
snapshot, |
|
|
Buffer |
buffer |
|
) |
| |
bool HeapTupleSatisfiesToast |
( |
HeapTupleHeader |
tuple, |
|
|
Buffer |
buffer |
|
) |
| |
Documentación de las variables