Commit 0ff5bd7b authored by Robert Haas's avatar Robert Haas

pg_prewarm: Add missing LWLockRegisterTranche call.

Commit 79ccd7cb, 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
parent f75a9591
...@@ -767,6 +767,8 @@ apw_init_shmem(void) ...@@ -767,6 +767,8 @@ apw_init_shmem(void)
} }
LWLockRelease(AddinShmemInitLock); LWLockRelease(AddinShmemInitLock);
LWLockRegisterTranche(apw_state->lock.tranche, "autoprewarm");
return found; return found;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment