Hackfut Security File Manager
Current Path:
/opt/td-agent/embedded/include/postgresql/server/storage
opt
/
td-agent
/
embedded
/
include
/
postgresql
/
server
/
storage
/
📁
..
📄
backendid.h
(1.1 KB)
📄
barrier.h
(674 B)
📄
block.h
(3.21 KB)
📄
buf.h
(1.06 KB)
📄
buf_internals.h
(12.24 KB)
📄
buffile.h
(1.67 KB)
📄
bufmgr.h
(9 KB)
📄
bufpage.h
(14.91 KB)
📄
checksum.h
(666 B)
📄
checksum_impl.h
(8.59 KB)
📄
copydir.h
(561 B)
📄
dsm.h
(1.95 KB)
📄
dsm_impl.h
(2.12 KB)
📄
fd.h
(4.27 KB)
📄
freespace.h
(1.36 KB)
📄
fsm_internals.h
(2.26 KB)
📄
indexfsm.h
(795 B)
📄
ipc.h
(2.67 KB)
📄
item.h
(469 B)
📄
itemid.h
(4.24 KB)
📄
itemptr.h
(3.93 KB)
📄
large_object.h
(3.6 KB)
📄
latch.h
(6.55 KB)
📄
lmgr.h
(4.19 KB)
📄
lock.h
(22.89 KB)
📄
lockdefs.h
(1.86 KB)
📄
lwlock.h
(9.19 KB)
📄
lwlocknames.h
(2.42 KB)
📄
off.h
(1.58 KB)
📄
pg_sema.h
(2.39 KB)
📄
pg_shmem.h
(2.23 KB)
📄
pmsignal.h
(2.1 KB)
📄
pos.h
(1.56 KB)
📄
predicate.h
(2.56 KB)
📄
predicate_internals.h
(16.96 KB)
📄
proc.h
(10.81 KB)
📄
procarray.h
(3.5 KB)
📄
procsignal.h
(1.9 KB)
📄
reinit.h
(592 B)
📄
relfilenode.h
(3.81 KB)
📄
s_lock.h
(28.64 KB)
📄
shm_mq.h
(2.59 KB)
📄
shm_toc.h
(2.01 KB)
📄
shmem.h
(2.63 KB)
📄
sinval.h
(5.41 KB)
📄
sinvaladt.h
(1.58 KB)
📄
smgr.h
(5.96 KB)
📄
spin.h
(2.42 KB)
📄
standby.h
(3.35 KB)
📄
standbydefs.h
(2.25 KB)
Editing: lmgr.h
/*------------------------------------------------------------------------- * * lmgr.h * POSTGRES lock manager definitions. * * * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/storage/lmgr.h * *------------------------------------------------------------------------- */ #ifndef LMGR_H #define LMGR_H #include "lib/stringinfo.h" #include "storage/itemptr.h" #include "storage/lock.h" #include "utils/rel.h" /* XactLockTableWait operations */ typedef enum XLTW_Oper { XLTW_None, XLTW_Update, XLTW_Delete, XLTW_Lock, XLTW_LockUpdated, XLTW_InsertIndex, XLTW_InsertIndexUnique, XLTW_FetchUpdated, XLTW_RecheckExclusionConstr } XLTW_Oper; extern void RelationInitLockInfo(Relation relation); /* Lock a relation */ extern void LockRelationOid(Oid relid, LOCKMODE lockmode); extern bool ConditionalLockRelationOid(Oid relid, LOCKMODE lockmode); extern void UnlockRelationId(LockRelId *relid, LOCKMODE lockmode); extern void UnlockRelationOid(Oid relid, LOCKMODE lockmode); extern void LockRelation(Relation relation, LOCKMODE lockmode); extern bool ConditionalLockRelation(Relation relation, LOCKMODE lockmode); extern void UnlockRelation(Relation relation, LOCKMODE lockmode); extern bool LockHasWaitersRelation(Relation relation, LOCKMODE lockmode); extern void LockRelationIdForSession(LockRelId *relid, LOCKMODE lockmode); extern void UnlockRelationIdForSession(LockRelId *relid, LOCKMODE lockmode); /* Lock a relation for extension */ extern void LockRelationForExtension(Relation relation, LOCKMODE lockmode); extern void UnlockRelationForExtension(Relation relation, LOCKMODE lockmode); extern bool ConditionalLockRelationForExtension(Relation relation, LOCKMODE lockmode); extern int RelationExtensionLockWaiterCount(Relation relation); /* Lock a page (currently only used within indexes) */ extern void LockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode); extern bool ConditionalLockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode); extern void UnlockPage(Relation relation, BlockNumber blkno, LOCKMODE lockmode); /* Lock a tuple (see heap_lock_tuple before assuming you understand this) */ extern void LockTuple(Relation relation, ItemPointer tid, LOCKMODE lockmode); extern bool ConditionalLockTuple(Relation relation, ItemPointer tid, LOCKMODE lockmode); extern void UnlockTuple(Relation relation, ItemPointer tid, LOCKMODE lockmode); /* Lock an XID (used to wait for a transaction to finish) */ extern void XactLockTableInsert(TransactionId xid); extern void XactLockTableDelete(TransactionId xid); extern void XactLockTableWait(TransactionId xid, Relation rel, ItemPointer ctid, XLTW_Oper oper); extern bool ConditionalXactLockTableWait(TransactionId xid); /* Lock VXIDs, specified by conflicting locktags */ extern void WaitForLockers(LOCKTAG heaplocktag, LOCKMODE lockmode); extern void WaitForLockersMultiple(List *locktags, LOCKMODE lockmode); /* Lock an XID for tuple insertion (used to wait for an insertion to finish) */ extern uint32 SpeculativeInsertionLockAcquire(TransactionId xid); extern void SpeculativeInsertionLockRelease(TransactionId xid); extern void SpeculativeInsertionWait(TransactionId xid, uint32 token); /* Lock a general object (other than a relation) of the current database */ extern void LockDatabaseObject(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); extern void UnlockDatabaseObject(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); /* Lock a shared-across-databases object (other than a relation) */ extern void LockSharedObject(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); extern void UnlockSharedObject(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); extern void LockSharedObjectForSession(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); extern void UnlockSharedObjectForSession(Oid classid, Oid objid, uint16 objsubid, LOCKMODE lockmode); /* Describe a locktag for error messages */ extern void DescribeLockTag(StringInfo buf, const LOCKTAG *tag); extern const char *GetLockNameFromTagType(uint16 locktag_type); #endif /* LMGR_H */
Upload File
Create Folder