SM0 She11
Path:
/
/
usr
/
include
/
pgsql
/
server
/
utils
Full Path (server): /usr/include/pgsql/server/utils
Create Fil3
Upl04d Fil3
📄 acl.h
[E]
[D]
[R]
📄 array.h
[E]
[D]
[R]
📄 ascii.h
[E]
[D]
[R]
📄 attoptcache.h
[E]
[D]
[R]
📄 builtins.h
[E]
[D]
[R]
📄 bytea.h
[E]
[D]
[R]
📄 cash.h
[E]
[D]
[R]
📄 catcache.h
[E]
[D]
[R]
📄 combocid.h
[E]
[D]
[R]
📄 date.h
[E]
[D]
[R]
📄 datetime.h
[E]
[D]
[R]
📄 datum.h
[E]
[D]
[R]
📄 dynahash.h
[E]
[D]
[R]
📄 dynamic_loader.h
[E]
[D]
[R]
📄 elog.h
[E]
[D]
[R]
📄 errcodes.h
[E]
[D]
[R]
📄 fmgroids.h
[E]
[D]
[R]
📄 fmgrtab.h
[E]
[D]
[R]
📄 formatting.h
[E]
[D]
[R]
📄 geo_decls.h
[E]
[D]
[R]
📄 guc.h
[E]
[D]
[R]
📄 guc_tables.h
[E]
[D]
[R]
📄 help_config.h
[E]
[D]
[R]
📄 hsearch.h
[E]
[D]
[R]
📄 inet.h
[E]
[D]
[R]
📄 int8.h
[E]
[D]
[R]
📄 inval.h
[E]
[D]
[R]
📄 json.h
[E]
[D]
[R]
📄 logtape.h
[E]
[D]
[R]
📄 lsyscache.h
[E]
[D]
[R]
📄 memutils.h
[E]
[D]
[R]
📄 nabstime.h
[E]
[D]
[R]
📄 numeric.h
[E]
[D]
[R]
📄 palloc.h
[E]
[D]
[R]
📄 pg_crc.h
[E]
[D]
[R]
📄 pg_crc_tables.h
[E]
[D]
[R]
📄 pg_locale.h
[E]
[D]
[R]
📄 pg_lzcompress.h
[E]
[D]
[R]
📄 pg_rusage.h
[E]
[D]
[R]
📄 plancache.h
[E]
[D]
[R]
📄 portal.h
[E]
[D]
[R]
📄 probes.h
[E]
[D]
[R]
📄 ps_status.h
[E]
[D]
[R]
📄 rangetypes.h
[E]
[D]
[R]
📄 rbtree.h
[E]
[D]
[R]
📄 rel.h
[E]
[D]
[R]
📄 relcache.h
[E]
[D]
[R]
📄 relmapper.h
[E]
[D]
[R]
📄 reltrigger.h
[E]
[D]
[R]
📄 resowner.h
[E]
[D]
[R]
📄 selfuncs.h
[E]
[D]
[R]
📄 snapmgr.h
[E]
[D]
[R]
📄 snapshot.h
[E]
[D]
[R]
📄 sortsupport.h
[E]
[D]
[R]
📄 spccache.h
[E]
[D]
[R]
📄 syscache.h
[E]
[D]
[R]
📄 timestamp.h
[E]
[D]
[R]
📄 tqual.h
[E]
[D]
[R]
📄 tuplesort.h
[E]
[D]
[R]
📄 tuplestore.h
[E]
[D]
[R]
📄 typcache.h
[E]
[D]
[R]
📄 tzparser.h
[E]
[D]
[R]
📄 uuid.h
[E]
[D]
[R]
📄 varbit.h
[E]
[D]
[R]
📄 xml.h
[E]
[D]
[R]
Editing: snapshot.h
/*------------------------------------------------------------------------- * * snapshot.h * POSTGRES snapshot definition * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/utils/snapshot.h * *------------------------------------------------------------------------- */ #ifndef SNAPSHOT_H #define SNAPSHOT_H #include "access/htup.h" #include "storage/buf.h" typedef struct SnapshotData *Snapshot; #define InvalidSnapshot ((Snapshot) NULL) /* * We use SnapshotData structures to represent both "regular" (MVCC) * snapshots and "special" snapshots that have non-MVCC semantics. * The specific semantics of a snapshot are encoded by the "satisfies" * function. */ typedef bool (*SnapshotSatisfiesFunc) (HeapTupleHeader tuple, Snapshot snapshot, Buffer buffer); typedef struct SnapshotData { SnapshotSatisfiesFunc satisfies; /* tuple test function */ /* * The remaining fields are used only for MVCC snapshots, and are normally * just zeroes in special snapshots. (But xmin and xmax are used * specially by HeapTupleSatisfiesDirty.) * * An MVCC snapshot can never see the effects of XIDs >= xmax. It can see * the effects of all older XIDs except those listed in the snapshot. xmin * is stored as an optimization to avoid needing to search the XID arrays * for most tuples. */ TransactionId xmin; /* all XID < xmin are visible to me */ TransactionId xmax; /* all XID >= xmax are invisible to me */ TransactionId *xip; /* array of xact IDs in progress */ uint32 xcnt; /* # of xact ids in xip[] */ /* note: all ids in xip[] satisfy xmin <= xip[i] < xmax */ int32 subxcnt; /* # of xact ids in subxip[] */ TransactionId *subxip; /* array of subxact IDs in progress */ bool suboverflowed; /* has the subxip array overflowed? */ bool takenDuringRecovery; /* recovery-shaped snapshot? */ bool copied; /* false if it's a static snapshot */ /* * note: all ids in subxip[] are >= xmin, but we don't bother filtering * out any that are >= xmax */ CommandId curcid; /* in my xact, CID < curcid are visible */ uint32 active_count; /* refcount on ActiveSnapshot stack */ uint32 regd_count; /* refcount on RegisteredSnapshotList */ } SnapshotData; /* * Result codes for HeapTupleSatisfiesUpdate. This should really be in * tqual.h, but we want to avoid including that file elsewhere. */ typedef enum { HeapTupleMayBeUpdated, HeapTupleInvisible, HeapTupleSelfUpdated, HeapTupleUpdated, HeapTupleBeingUpdated } HTSU_Result; #endif /* SNAPSHOT_H */
Save