mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@@ -211,7 +211,7 @@ static int FastPathLocalUseCount = 0;
|
||||
static bool FastPathGrantRelationLock(Oid relid, LOCKMODE lockmode);
|
||||
static bool FastPathUnGrantRelationLock(Oid relid, LOCKMODE lockmode);
|
||||
static bool FastPathTransferRelationLocks(LockMethod lockMethodTable,
|
||||
const LOCKTAG *locktag, uint32 hashcode);
|
||||
const LOCKTAG *locktag, uint32 hashcode);
|
||||
static PROCLOCK *FastPathGetRelationLockEntry(LOCALLOCK *locallock);
|
||||
|
||||
/*
|
||||
@@ -342,7 +342,7 @@ PROCLOCK_PRINT(const char *where, const PROCLOCK *proclockP)
|
||||
static uint32 proclock_hash(const void *key, Size keysize);
|
||||
static void RemoveLocalLock(LOCALLOCK *locallock);
|
||||
static PROCLOCK *SetupLockInTable(LockMethod lockMethodTable, PGPROC *proc,
|
||||
const LOCKTAG *locktag, uint32 hashcode, LOCKMODE lockmode);
|
||||
const LOCKTAG *locktag, uint32 hashcode, LOCKMODE lockmode);
|
||||
static void GrantLockLocal(LOCALLOCK *locallock, ResourceOwner owner);
|
||||
static void BeginStrongLockAcquire(LOCALLOCK *locallock, uint32 fasthashcode);
|
||||
static void FinishStrongLockAcquire(void);
|
||||
@@ -350,15 +350,15 @@ static void WaitOnLock(LOCALLOCK *locallock, ResourceOwner owner);
|
||||
static void ReleaseLockIfHeld(LOCALLOCK *locallock, bool sessionLock);
|
||||
static void LockReassignOwner(LOCALLOCK *locallock, ResourceOwner parent);
|
||||
static bool UnGrantLock(LOCK *lock, LOCKMODE lockmode,
|
||||
PROCLOCK *proclock, LockMethod lockMethodTable);
|
||||
PROCLOCK *proclock, LockMethod lockMethodTable);
|
||||
static void CleanUpLock(LOCK *lock, PROCLOCK *proclock,
|
||||
LockMethod lockMethodTable, uint32 hashcode,
|
||||
bool wakeupNeeded);
|
||||
LockMethod lockMethodTable, uint32 hashcode,
|
||||
bool wakeupNeeded);
|
||||
static void LockRefindAndRelease(LockMethod lockMethodTable, PGPROC *proc,
|
||||
LOCKTAG *locktag, LOCKMODE lockmode,
|
||||
bool decrement_strong_lock_count);
|
||||
LOCKTAG *locktag, LOCKMODE lockmode,
|
||||
bool decrement_strong_lock_count);
|
||||
static void GetSingleProcBlockerStatusData(PGPROC *blocked_proc,
|
||||
BlockedProcsData *data);
|
||||
BlockedProcsData *data);
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user