aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-11-10 16:33:52 +0900
committerMichael Paquier <michael@paquier.xyz>2022-11-10 16:33:52 +0900
commit5962c8cbe5a6f02aa638279822cc59bd364e2081 (patch)
tree6d1d569c9cad022afa524ddc2c82270eb27e2117 /src/backend
parent7b6610508d68f0c6191c01e824d90051295a39fc (diff)
downloadpostgresql-5962c8cbe5a6f02aa638279822cc59bd364e2081.tar.gz
postgresql-5962c8cbe5a6f02aa638279822cc59bd364e2081.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/backend')
-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 b65cb49d7ff..3afd5340911 100644
--- 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,