shmem-index-size.patch

text/plain

Filename: shmem-index-size.patch
Type: text/plain
Part: 0
Message: SHMEM_INDEX_SIZE exceeded on startup

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/include/storage/shmem.h 1 0
*** a/src/include/storage/shmem.h
--- b/src/include/storage/shmem.h
***************
*** 50,56 **** extern void RequestAddinShmemSpace(Size size);
   /* max size of data structure string name */
  #define SHMEM_INDEX_KEYSIZE		 (48)
   /* estimated size of the shmem index table (not a hard limit) */
! #define SHMEM_INDEX_SIZE		 (32)
  
  /* this is a hash bucket in the shmem index table */
  typedef struct
--- 50,56 ----
   /* max size of data structure string name */
  #define SHMEM_INDEX_KEYSIZE		 (48)
   /* estimated size of the shmem index table (not a hard limit) */
! #define SHMEM_INDEX_SIZE		 (64)
  
  /* this is a hash bucket in the shmem index table */
  typedef struct