git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85d8b30)
Fix comment of SimpleLruInit() in slru.c
2022年11月10日 07:32:29 +0000 (16:32 +0900)
2022年11月10日 07:32:29 +0000 (16:32 +0900)
sync_handler was not mentioned in the comment block of the function.

Oversight in dee663f.

Author: Aleksander Alekseev
Discussion: https://postgr.es/m/CAJ7c6TPUd9BwNY47TtMxaijLHSbyHNdhu=kvbGnvO_bi+oC6_Q@mail.gmail.com
Backpatch-through: 14


diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c
index 6c57fae31216397fb0cfa16b51b5e8c24347983f..6feda87f574ce4d31a00f3cb1c5dcac5102308b3 100644 (file)
--- a/src/backend/access/transam/slru.c
+++ b/src/backend/access/transam/slru.c
@@ -182,6 +182,7 @@ SimpleLruShmemSize(int nslots, int nlsns)
* ctllock: LWLock to use to control access to the shared control structure.
* subdir: PGDATA-relative subdirectory that will contain the files.
* tranche_id: LWLock tranche ID to use for the SLRU's per-buffer LWLocks.
+ * sync_handler: which set of functions to use to handle sync requests
*/
void
SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /