Skip to content

Commit f4d3ca4

Browse files
committed
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-
1 parent 55b8ac8 commit f4d3ca4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/utils/activity/pgstat_slru.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ pgstat_get_slru_index(const char *name)
147147
* Flush out locally pending SLRU stats entries
148148
*
149149
* If nowait is true, this function returns false on lock failure. Otherwise
150-
* this function always returns true. Writer processes are mutually excluded
151-
* using LWLock, but readers are expected to use change-count protocol to avoid
152-
* interference with writers.
150+
* this function always returns true.
153151
*
154152
* If nowait is true, this function returns true if the lock could not be
155153
* acquired. Otherwise return false.

0 commit comments

Comments
 (0)