Skip to content

Commit

Permalink
Fix comment of SimpleLruInit() in slru.c
Browse files Browse the repository at this point in the history
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
  • Loading branch information
michaelpq committed Nov 10, 2022
1 parent 8befa05 commit 9e03211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/access/transam/slru.c
Expand Up @@ -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,
Expand Down

0 comments on commit 9e03211

Please sign in to comment.