mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
pgindent run prior to branching
This commit is contained in:
@ -2014,8 +2014,8 @@ GetRunningTransactionData(void)
|
||||
/*
|
||||
* If we wished to exclude xids this would be the right place for it.
|
||||
* Procs with the PROC_IN_VACUUM flag set don't usually assign xids,
|
||||
* but they do during truncation at the end when they get the lock
|
||||
* and truncate, so it is not much of a problem to include them if they
|
||||
* but they do during truncation at the end when they get the lock and
|
||||
* truncate, so it is not much of a problem to include them if they
|
||||
* are seen and it is cleaner to include them.
|
||||
*/
|
||||
|
||||
|
@ -53,8 +53,8 @@ static void LogAccessExclusiveLocks(int nlocks, xl_standby_lock *locks);
|
||||
*/
|
||||
typedef struct RecoveryLockListsEntry
|
||||
{
|
||||
TransactionId xid;
|
||||
List *locks;
|
||||
TransactionId xid;
|
||||
List *locks;
|
||||
} RecoveryLockListsEntry;
|
||||
|
||||
/*
|
||||
@ -73,7 +73,7 @@ void
|
||||
InitRecoveryTransactionEnvironment(void)
|
||||
{
|
||||
VirtualTransactionId vxid;
|
||||
HASHCTL hash_ctl;
|
||||
HASHCTL hash_ctl;
|
||||
|
||||
/*
|
||||
* Initialize the hash table for tracking the list of locks held by each
|
||||
@ -671,6 +671,7 @@ StandbyReleaseLockList(List *locks)
|
||||
{
|
||||
xl_standby_lock *lock = (xl_standby_lock *) linitial(locks);
|
||||
LOCKTAG locktag;
|
||||
|
||||
elog(trace_recovery(DEBUG4),
|
||||
"releasing recovery lock: xid %u db %u rel %u",
|
||||
lock->xid, lock->dbOid, lock->relOid);
|
||||
@ -728,7 +729,7 @@ StandbyReleaseLockTree(TransactionId xid, int nsubxids, TransactionId *subxids)
|
||||
void
|
||||
StandbyReleaseAllLocks(void)
|
||||
{
|
||||
HASH_SEQ_STATUS status;
|
||||
HASH_SEQ_STATUS status;
|
||||
RecoveryLockListsEntry *entry;
|
||||
|
||||
elog(trace_recovery(DEBUG2), "release all standby locks");
|
||||
@ -749,7 +750,7 @@ StandbyReleaseAllLocks(void)
|
||||
void
|
||||
StandbyReleaseOldLocks(TransactionId oldxid)
|
||||
{
|
||||
HASH_SEQ_STATUS status;
|
||||
HASH_SEQ_STATUS status;
|
||||
RecoveryLockListsEntry *entry;
|
||||
|
||||
hash_seq_init(&status, RecoveryLockLists);
|
||||
|
Reference in New Issue
Block a user