*** 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 ----