diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c
index 9ccfc4f1144ac90365984476a728a164d7807bb1..34802eeb08726cf0fec406ca96561fcfdbbc7baa 100644
--- a/src/backend/utils/cache/inval.c
+++ b/src/backend/utils/cache/inval.c
@@ -174,7 +174,7 @@ static int	maxSharedInvalidMessagesArray;
  * assumes there won't be very many of these at once; could improve if needed.
  */
 
-#define MAX_SYSCACHE_CALLBACKS 20
+#define MAX_SYSCACHE_CALLBACKS 32
 #define MAX_RELCACHE_CALLBACKS 5
 
 static struct SYSCACHECALLBACK