Re: "duplicated" wait events

2023-08-07 Thread Drouvot, Bertrand
Hi, On 8/7/23 7:46 AM, Kyotaro Horiguchi wrote: At Fri, 4 Aug 2023 17:07:51 +0200, "Drouvot, Bertrand" wrote in SynRep currently appears in "IPC" and "LWLock" (see [2]) WALWrite currently appears in "IO" and "LWLock" (see [2]) I think that can lead to confusion and it would be better to avoi

Re: "duplicated" wait events

2023-08-06 Thread Kyotaro Horiguchi
At Fri, 4 Aug 2023 17:07:51 +0200, "Drouvot, Bertrand" wrote in > SynRep currently appears in "IPC" and "LWLock" (see [2]) > WALWrite currently appears in "IO" and "LWLock" (see [2]) > > I think that can lead to confusion and it would be better to avoid > duplicate wait event > name across Wait

"duplicated" wait events

2023-08-04 Thread Drouvot, Bertrand
Hi hackers, while working on the new system catalog pg_wait_event (see [1]) I noticed that some wait events are currently "duplicated": postgres=# select wait_event_name,count(*) from pg_wait_event group by wait_event_name having count(*) > 1; wait_event_name | count -+---