diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2018-06-30 12:25:49 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2018-06-30 12:25:49 -0400 |
commit | 1e9c8580904625576871eeb2efec7f04d4c3bc1c (patch) | |
tree | 6093afd9440b732c2b4f2c040b7a3e83b6f163ae /src/backend/storage/ipc/standby.c | |
parent | 2c64d200484c40c1bfbd532bf140bea672f267a1 (diff) |
pgindent run prior to branching
Diffstat (limited to 'src/backend/storage/ipc/standby.c')
-rw-r--r-- | src/backend/storage/ipc/standby.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 147784c4b67..2e077028951 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -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); |