Re: 64-bit wait_event and introduction of 32-bit wait_event_arg - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: 64-bit wait_event and introduction of 32-bit wait_event_arg
Date
Msg-id aTfqyE9Sw27IxiaP@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: 64-bit wait_event and introduction of 32-bit wait_event_arg  (Jakub Wartak <jakub.wartak@enterprisedb.com>)
List pgsql-hackers
Hi,

On Tue, Dec 09, 2025 at 10:14:19AM +0100, Jakub Wartak wrote:
> On Mon, Dec 8, 2025 at 12:27 PM Bertrand Drouvot
> <bertranddrouvot.pg@gmail.com> wrote:
> >
> >    pid   | wait_event_type |  wait_event  |                            infos
> > ---------+-----------------+--------------+-------------------------------------------------------------
> >  2560105 | IO              | DataFileRead | {"blocknum" : "9272", "dbnode" : "5", "relnode" : "16407"}
> >  2560135 | IO              | WalSync      | {"segno" : "1", "tli" : "1"}
> >  2560138 | IO              | DataFileRead | {"blocknum" : "78408", "dbnode" : "5", "relnode" : "16399"}
> >
> > The "descriptions" were added in wait_event_names.txt, for example,
> >
> > +DATA_FILE_READ "Waiting for a read from a relation data file." "blocknum"  "dbnode"    "relnode"
> >
> Hi Bertrand, thanks for the link. I've responded to Heikki, but Your
> thread (and feedback You got) was one of the directions of why not to
> add anything there beyond just using a more powerful(longer) registry
> for free.

Yeah exactly. My message in the current thread was only about proposing a way
to add a text description to the extra value.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Jakub Wartak
Date:
Subject: Re: 64-bit wait_event and introduction of 32-bit wait_event_arg
Next
From: Amit Kapila
Date:
Subject: Re: Fix LOCK_TIMEOUT handling in slotsync worker