mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03: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:
@ -767,6 +767,8 @@ apw_init_shmem(void)
|
|||||||
}
|
}
|
||||||
LWLockRelease(AddinShmemInitLock);
|
LWLockRelease(AddinShmemInitLock);
|
||||||
|
|
||||||
|
LWLockRegisterTranche(apw_state->lock.tranche, "autoprewarm");
|
||||||
|
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user