pgstat: slru: remove outdated comment
That comment might have been true at some point during development, but definitely isn't anymore. Reported-By: Melanie Plageman <melanieplageman@gmail.com> Backpatch: 15-
This commit is contained in:
parent
55b8ac8172
commit
f4d3ca421d
@ -147,9 +147,7 @@ pgstat_get_slru_index(const char *name)
|
|||||||
* Flush out locally pending SLRU stats entries
|
* Flush out locally pending SLRU stats entries
|
||||||
*
|
*
|
||||||
* If nowait is true, this function returns false on lock failure. Otherwise
|
* If nowait is true, this function returns false on lock failure. Otherwise
|
||||||
* this function always returns true. Writer processes are mutually excluded
|
* this function always returns true.
|
||||||
* using LWLock, but readers are expected to use change-count protocol to avoid
|
|
||||||
* interference with writers.
|
|
||||||
*
|
*
|
||||||
* If nowait is true, this function returns true if the lock could not be
|
* If nowait is true, this function returns true if the lock could not be
|
||||||
* acquired. Otherwise return false.
|
* acquired. Otherwise return false.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user