aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/lockfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-05-15 19:55:56 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-05-15 19:55:56 -0400
commit14a91010912632cae322b06fce0425faedcf7353 (patch)
tree49bbf3e514ac1a3ed4c66a15f415fd6b8290d1af /src/backend/utils/adt/lockfuncs.c
parent8048404939bb0fcef80b0ab57910b6e10d4289a3 (diff)
downloadpostgresql-14a91010912632cae322b06fce0425faedcf7353.tar.gz
postgresql-14a91010912632cae322b06fce0425faedcf7353.zip
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
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
0 files changed, 0 insertions, 0 deletions