pg_prewarm: Add missing LWLockRegisterTranche call.
Commit 79ccd7cbd5ca44bee0191d12e9e65abf702899e7, 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…
x
Reference in New Issue
Block a user