Thread: pgsql: Move TRACE calls into WaitOnLock()

pgsql: Move TRACE calls into WaitOnLock()

From
Heikki Linnakangas
Date:
Move TRACE calls into WaitOnLock()

LockAcquire is a long and complex function. Pushing more stuff to its
subroutines makes it a little more manageable.

Reviewed-by: Maxim Orlov
Discussion: https://www.postgresql.org/message-id/7c2090cd-a72a-4e34-afaa-6dd2ef31440e@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ae0897e42416d8954f0340ba7eca6275ed8c8b7

Modified Files
--------------
src/backend/storage/lmgr/lock.c | 29 ++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)