mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01:00
pg_prewarm: Add missing LWLockRegisterTranche call.
Commit 79ccd7cbd5, which added automatic
prewarming, neglected this.
Kyotaro Horiguchi, reviewed by me.
Discussion: http://postgr.es/m/20171215.173219.38055760.horiguchi.kyotaro@lab.ntt.co.jp
This commit is contained in:
parent
f75a959155
commit
0ff5bd7b47
|
|
@ -767,6 +767,8 @@ apw_init_shmem(void)
|
|||
}
|
||||
LWLockRelease(AddinShmemInitLock);
|
||||
|
||||
LWLockRegisterTranche(apw_state->lock.tranche, "autoprewarm");
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user