Fix typo and comments related to the recent no-wait lock improvements
authorMichael Paquier <michael@paquier.xyz>
Thu, 23 May 2024 04:47:12 +0000 (13:47 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 23 May 2024 04:47:12 +0000 (13:47 +0900)
commitf7ab71ba0c7bcf237403d40269aeea0a0f2551df
treeac88ca3290153ccc29c4c610a9a0c5c6d70af961
parentdd087e1c13bf5f2bcfdc189976aa4e44ed431739
Fix typo and comments related to the recent no-wait lock improvements

The argument of dontWait at the top of ProcSleep() was documented
backwards, and there was a typo in lock.c.

Thinkos in 2346df6fc373.

Author: Will Mortensen
Reviewed-by: Jingxian Li, Michael Paquier
Discussion: https://postgr.es/m/CAMpnoC5f+eiS7tdy8PUpd_LacSTVT-pYpVooKfjHRQQmkHPZ2g@mail.gmail.com
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c