pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add WAIT_EVENT_{CLASS,ID}_MASK in wait_event.c
Date: Mon, 31 Jul 2023 07:21:05 +0000
Message-ID: <E1qQNDE-0027Dv-5c@gemulon.postgresql.org> (raw)

Add WAIT_EVENT_{CLASS,ID}_MASK in wait_event.c

These are useful to extract the class ID and the event ID associated to
a single uint32 wait_event_info.  Only two code paths use them now, but
an upcoming patch will extend their use.

Discussion: https://postgr.es/m/ZMcJ7F7nkGkIs8zP@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7395a90db87bcb2f617d3c486657813122d3f151

Modified Files
--------------
src/backend/utils/activity/wait_event.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)



Message-ID: <E1qQNDE-0027Dv-5c@gemulon.postgresql.org>
Permalink:  ../E1qQNDE-0027Dv-5c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qQNDE-0027Dv-5c@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add WAIT_EVENT_{CLASS,ID}_MASK in wait_event.c
  In-Reply-To: <E1qQNDE-0027Dv-5c@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