Wait event names mismatch: oldserxid - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Wait event names mismatch: oldserxid
Date
Msg-id CAFjFpRcmeRsdgT7Mf8F_v4NZVhT4yvSJbrGn7WGZRZjvat6mCw@mail.gmail.com
Whole thread Raw
Responses Re: Wait event names mismatch: oldserxid  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,
Name for wait event "LWTRANCHE_OLDSERXID_BUFFERS" is printed as
"oldserxid", but documentation at
https://www.postgresql.org/docs/10/static/monitoring-stats.html does
not have exact same event there. Instead it has

OldSerXidLock     Waiting to read or record conflicting serializable
transactions.

Are they same. In that case, should we change the documentation or
code in OldSerXidInit()
 808     SimpleLruInit(OldSerXidSlruCtl, "oldserxid",
 809                   NUM_OLDSERXID_BUFFERS, 0, OldSerXidLock, "pg_serial",
 810                   LWTRANCHE_OLDSERXID_BUFFERS);

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company


pgsql-hackers by date:

Previous
From: Claudio Freire
Date:
Subject: Re: [HACKERS] Vacuum: allow usage of more than 1GB of work mem
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] path toward faster partition pruning