ssi-drop-fudge-factor.patch

text/plain

Filename: ssi-drop-fudge-factor.patch
Type: text/plain
Part: 0
Message: Re: SSI patch version 14

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/backend/storage/lmgr/predicate.c 0 0
*** a/src/backend/storage/lmgr/predicate.c
--- b/src/backend/storage/lmgr/predicate.c
***************
*** 1173,1184 **** PredicateLockShmemSize(void)
  	size = add_size(size, hash_estimate_size(max_table_size,
  											 sizeof(PREDICATELOCK)));
  
- 	/*
- 	 * Since NPREDICATELOCKTARGETENTS is only an estimate, add 10% safety
- 	 * margin.
- 	 */
- 	size = add_size(size, size / 10);
- 
  	/* transaction list */
  	max_table_size = MaxBackends + max_prepared_xacts;
  	max_table_size *= 10;
--- 1173,1178 ----