Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ce4459

Browse files
committed
Increase MAX_SYSCACHE_CALLBACKS from 20 to 32.
By my count there are 18 callers of CacheRegisterSyscacheCallback in thecore code in HEAD, so we are potentially leaving as few as 2 slots for anyadd-on code to use (though possibly not all these callers would actuallyactivate in any particular session). That doesn't seem like a lot ofheadroom, so let's pump it up a little.
1 parent45ba424 commit0ce4459

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 intmaxSharedInvalidMessagesArray;
174174
* assumes there won't be very many of these at once; could improve if needed.
175175
*/
176176

177-
#defineMAX_SYSCACHE_CALLBACKS20
177+
#defineMAX_SYSCACHE_CALLBACKS32
178178
#defineMAX_RELCACHE_CALLBACKS 5
179179

180180
staticstructSYSCACHECALLBACK

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp