Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf4d3ca4

Browse files
committed
pgstat: slru: remove outdated comment
That comment might have been true at some point during development, butdefinitely isn't anymore.Reported-By: Melanie Plageman <melanieplageman@gmail.com>Backpatch: 15-
1 parent55b8ac8 commitf4d3ca4

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)

[8]ページ先頭

©2009-2025 Movatter.jp