git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8048404) | patch
Drop the redundant "Lock" suffix from LWLock wait event names.
2020年5月15日 23:55:56 +0000 (19:55 -0400)
2020年5月15日 23:55:56 +0000 (19:55 -0400)
commit 14a91010912632cae322b06fce0425faedcf7353
Drop the redundant "Lock" suffix from LWLock wait event names.

This was mostly confusing, especially since some wait events in
this class had the suffix and some did not.

While at it, stop exposing MainLWLockNames[] as a globally visible
name; any code using that directly is almost certainly wrong, as
its name has been misleading for some time.
(GetLWLockIdentifier() is what to use instead.)

Discussion: https://postgr.es/m/28683.1589405363@sss.pgh.pa.us
doc/src/sgml/monitoring.sgml diff | blob | blame | history
src/backend/storage/lmgr/generate-lwlocknames.pl diff | blob | blame | history
src/backend/storage/lmgr/lwlock.c diff | blob | blame | history
src/include/storage/lwlock.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /