Fix typo and comments related to the recent no-wait lock improvements

Michael Paquier <michael@paquier.xyz>

Commit: f7ab71ba0c7bcf237403d40269aeea0a0f2551df
Author: Michael Paquier <michael@paquier.xyz>
Date: 2024-05-23T04:47:12Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/storage/lmgr/lock.c modified +1 −1
src/backend/storage/lmgr/proc.c modified +2 −2

Discussion