Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    0ce4459a
    Increase MAX_SYSCACHE_CALLBACKS from 20 to 32. · 0ce4459a
    Tom Lane authored
    By my count there are 18 callers of CacheRegisterSyscacheCallback in the
    core code in HEAD, so we are potentially leaving as few as 2 slots for any
    add-on code to use (though possibly not all these callers would actually
    activate in any particular session).  That doesn't seem like a lot of
    headroom, so let's pump it up a little.
    0ce4459a
    History
    Increase MAX_SYSCACHE_CALLBACKS from 20 to 32.
    Tom Lane authored
    By my count there are 18 callers of CacheRegisterSyscacheCallback in the
    core code in HEAD, so we are potentially leaving as few as 2 slots for any
    add-on code to use (though possibly not all these callers would actually
    activate in any particular session).  That doesn't seem like a lot of
    headroom, so let's pump it up a little.