Skip to content

Commit 9e03211

Browse files
committed
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
1 parent 8befa05 commit 9e03211

File tree

1 file changed

+1
-0
lines changed
  • src/backend/access/transam

1 file changed

+1
-0
lines changed

src/backend/access/transam/slru.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ SimpleLruShmemSize(int nslots, int nlsns)
181181
* ctllock: LWLock to use to control access to the shared control structure.
182182
* subdir: PGDATA-relative subdirectory that will contain the files.
183183
* tranche_id: LWLock tranche ID to use for the SLRU's per-buffer LWLocks.
184+
* sync_handler: which set of functions to use to handle sync requests
184185
*/
185186
void
186187
SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,

0 commit comments

Comments
 (0)