Skip to content

Commit 5ca3645

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 85d8b30 commit 5ca3645

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

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

0 commit comments

Comments
 (0)