]> granicus.if.org Git - postgresql/commit
Increase MAX_SYSCACHE_CALLBACKS from 20 to 32.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Jun 2012 23:47:37 +0000 (19:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Jun 2012 23:47:37 +0000 (19:47 -0400)
commit0ce4459a366def5173a59a74ba1b81e8449b8df1
tree71c8d55a05715aff691a50efa9467aa5cd98b732
parent45ba424f332a7eaa685a4e23f142a43114c65811
Increase MAX_SYSCACHE_CALLBACKS from 20 to 32.

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.
src/backend/utils/cache/inval.c