pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move TRACE calls into WaitOnLock()
Date: Mon, 04 Nov 2024 14:21:50 +0000
Message-ID: <E1t7xxm-0008wE-E6@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1t7xxm-0008wE-E6@gemulon.postgresql.org>
Permalink:  ../E1t7xxm-0008wE-E6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t7xxm-0008wE-E6@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Move TRACE calls into WaitOnLock()
  In-Reply-To: <E1t7xxm-0008wE-E6@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox