Improve header comment for WaitLSNSetLatches()

Reflect the fact that we remove waiters from the heap, not just set their
latches.
pull/174/head
Alexander Korotkov 11 months ago
parent 867d396ccd
commit 3ac3ec580c
  1. 5
      src/backend/commands/waitlsn.c

@ -147,8 +147,9 @@ deleteLSNWaiter(void)
}
/*
* Set latches of LSN waiters whose LSN has been replayed. Set latches of all
* LSN waiters when InvalidXLogRecPtr is given.
* Remove waiters whose LSN has been replayed from the heap and set their
* latches. If InvalidXLogRecPtr is given, remove all waiters from the heap
* and set latches for all waiters.
*/
void
WaitLSNSetLatches(XLogRecPtr currentLSN)

Loading…
Cancel
Save