mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
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
This commit is contained in:
parent
85d8b30724
commit
5ca3645cb3
@ -182,6 +182,7 @@ SimpleLruShmemSize(int nslots, int nlsns)
|
|||||||
* ctllock: LWLock to use to control access to the shared control structure.
|
* ctllock: LWLock to use to control access to the shared control structure.
|
||||||
* subdir: PGDATA-relative subdirectory that will contain the files.
|
* subdir: PGDATA-relative subdirectory that will contain the files.
|
||||||
* tranche_id: LWLock tranche ID to use for the SLRU's per-buffer LWLocks.
|
* 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
|
void
|
||||||
SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,
|
SimpleLruInit(SlruCtl ctl, const char *name, int nslots, int nlsns,
|
||||||
|
Loading…
Reference in New Issue
Block a user