pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Create waitfuncs.c for pg_isolation_test_session_is_blocked().
Date: Fri, 28 Jun 2024 02:26:54 +0000
Message-ID: <E1sN1K9-003Iyy-NT@gemulon.postgresql.org> (raw)

Create waitfuncs.c for pg_isolation_test_session_is_blocked().

The next commit makes the function inspect an additional non-lock
contention source, so it no longer fits in lockfuncs.c.

Reviewed by Robert Haas.

Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/abfbd13af0e971e8789bc89e7c83ad53a85fa74b

Modified Files
--------------
src/backend/utils/adt/Makefile    |  1 +
src/backend/utils/adt/lockfuncs.c | 79 --------------------------------
src/backend/utils/adt/meson.build |  1 +
src/backend/utils/adt/waitfuncs.c | 96 +++++++++++++++++++++++++++++++++++++++
4 files changed, 98 insertions(+), 79 deletions(-)



Message-ID: <E1sN1K9-003Iyy-NT@gemulon.postgresql.org>
Permalink:  ../E1sN1K9-003Iyy-NT@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sN1K9-003Iyy-NT@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: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Create waitfuncs.c for pg_isolation_test_session_is_blocked().
  In-Reply-To: <E1sN1K9-003Iyy-NT@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