mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Fix grammatical typos around possessive "its"
Some places spelled it "it's", which is short for "it is". In passing, fix a couple other nearby grammatical errors. Author: Jacob Brazeal <jacob.brazeal@gmail.com> Discussion: https://postgr.es/m/CA+COZaAO8g1KJCV0T48=CkJMjAnnfTGLWOATz+2aCh40c2Nm+g@mail.gmail.com
This commit is contained in:
@@ -1323,7 +1323,7 @@ SetupLockInTable(LockMethod lockMethodTable, PGPROC *proc,
|
||||
* on our own behalf, in which case our group leader isn't changing
|
||||
* because the group leader for a process can only ever be changed by
|
||||
* the process itself; or else we are transferring a fast-path lock to
|
||||
* the main lock table, in which case that process can't change it's
|
||||
* the main lock table, in which case that process can't change its
|
||||
* lock group leader without first releasing all of its locks (and in
|
||||
* particular the one we are currently transferring).
|
||||
*/
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
* The attentive reader might have noticed that naively doing the above has a
|
||||
* glaring race condition: We try to lock using the atomic operations and
|
||||
* notice that we have to wait. Unfortunately by the time we have finished
|
||||
* queuing, the former locker very well might have already finished it's
|
||||
* queuing, the former locker very well might have already finished its
|
||||
* work. That's problematic because we're now stuck waiting inside the OS.
|
||||
|
||||
* To mitigate those races we use a two phased attempt at locking:
|
||||
|
||||
Reference in New Issue
Block a user