Re: Refactor GetLockStatusData() by skipping unused backends and groups
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-10-24T15:23:15Z
Lists: pgsql-hackers
On 2024/10/24 11:12, Bertrand Drouvot wrote: >> So, probably >> we can consider that this check is already in place. If it’s still worth adding, >> perhaps placing it inside the FAST_PATH_SLOT() macro could be an option... >> Or current assertion check is enough? Thought? > > Given that it's already done in FAST_PATH_GET_BITS(), I think that's fine as it > is and v2 LGTM. Thanks for the review! Pushed. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Commits
-
Refactor GetLockStatusData() to skip backends/groups without fast-path locks.
- 86c30cef4a4c 18.0 landed