aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-11-10 16:33:55 +0900
committerMichael Paquier <michael@paquier.xyz>2022-11-10 16:33:55 +0900
commit9e0321135cae1328cd4355399561428b474fce43 (patch)
tree97b5d286e570c9e29193924ce5e23e0709ee0f6a /src
parent8befa05d78892c3830efb4f356e1de562e4c6cb7 (diff)
downloadpostgresql-9e0321135cae1328cd4355399561428b474fce43.tar.gz
postgresql-9e0321135cae1328cd4355399561428b474fce43.zip
Fix comment of SimpleLruInit() in slru.c
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/slru.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c
index 82149ad7821..7273d61b15a 100644
--- a/src/backend/access/transam/slru.c
+++ b/src/backend/access/transam/slru.c
@@ -181,6 +181,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,