Content-Length: 258365 | pFad | http://github.com/postgrespro/postgres/commit/0ce4459a366def5173a59a74ba1b81e8449b8df1

F1 Increase MAX_SYSCACHE_CALLBACKS from 20 to 32. · postgrespro/postgres@0ce4459 · GitHub
Skip to content

Commit 0ce4459

Browse files
committed
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.
1 parent 45ba424 commit 0ce4459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/cache/inval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ static int maxSharedInvalidMessagesArray;
174174
* assumes there won't be very many of these at once; could improve if needed.
175175
*/
176176

177-
#define MAX_SYSCACHE_CALLBACKS 20
177+
#define MAX_SYSCACHE_CALLBACKS 32
178178
#define MAX_RELCACHE_CALLBACKS 5
179179

180180
static struct SYSCACHECALLBACK

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0ce4459a366def5173a59a74ba1b81e8449b8df1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy