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: standby.h
/*------------------------------------------------------------------------- * * standby.h * Definitions for hot standby mode. * * * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/storage/standby.h * *------------------------------------------------------------------------- */ #ifndef STANDBY_H #define STANDBY_H #include "storage/standbydefs.h" #include "storage/lock.h" #include "storage/procsignal.h" #include "storage/relfilenode.h" /* User-settable GUC parameters */ extern int vacuum_defer_cleanup_age; extern int max_standby_archive_delay; extern int max_standby_streaming_delay; extern void InitRecoveryTransactionEnvironment(void); extern void ShutdownRecoveryTransactionEnvironment(void); extern void ResolveRecoveryConflictWithSnapshot(TransactionId latestRemovedXid, RelFileNode node); extern void ResolveRecoveryConflictWithTablespace(Oid tsid); extern void ResolveRecoveryConflictWithDatabase(Oid dbid); extern void ResolveRecoveryConflictWithLock(LOCKTAG locktag); extern void ResolveRecoveryConflictWithBufferPin(void); extern void CheckRecoveryConflictDeadlock(void); extern void StandbyDeadLockHandler(void); extern void StandbyTimeoutHandler(void); extern void StandbyLockTimeoutHandler(void); /* * Standby Rmgr (RM_STANDBY_ID) * * Standby recovery manager exists to perform actions that are required * to make hot standby work. That includes logging AccessExclusiveLocks taken * by transactions and running-xacts snapshots. */ extern void StandbyAcquireAccessExclusiveLock(TransactionId xid, Oid dbOid, Oid relOid); extern void StandbyReleaseLockTree(TransactionId xid, int nsubxids, TransactionId *subxids); extern void StandbyReleaseAllLocks(void); extern void StandbyReleaseOldLocks(int nxids, TransactionId *xids); #define MinSizeOfXactRunningXacts offsetof(xl_running_xacts, xids) /* * Declarations for GetRunningTransactionData(). Similar to Snapshots, but * not quite. This has nothing at all to do with visibility on this server, * so this is completely separate from snapmgr.c and snapmgr.h. * This data is important for creating the initial snapshot state on a * standby server. We need lots more information than a normal snapshot, * hence we use a specific data structure for our needs. This data * is written to WAL as a separate record immediately after each * checkpoint. That means that wherever we start a standby from we will * almost immediately see the data we need to begin executing queries. */ typedef struct RunningTransactionsData { int xcnt; /* # of xact ids in xids[] */ int subxcnt; /* # of subxact ids in xids[] */ bool subxid_overflow; /* snapshot overflowed, subxids missing */ TransactionId nextXid; /* copy of ShmemVariableCache->nextXid */ TransactionId oldestRunningXid; /* *not* oldestXmin */ TransactionId latestCompletedXid; /* so we can set xmax */ TransactionId *xids; /* array of (sub)xids still running */ } RunningTransactionsData; typedef RunningTransactionsData *RunningTransactions; extern void LogAccessExclusiveLock(Oid dbOid, Oid relOid); extern void LogAccessExclusiveLockPrepare(void); extern XLogRecPtr LogStandbySnapshot(void); extern void LogStandbyInvalidations(int nmsgs, SharedInvalidationMessage *msgs, bool relcacheInitFileInval); #endif /* STANDBY_H */
Upload File
Create Folder