このページを編集する際は、編集に関する方針に従ってください。
#define MaxAllocSize ((Size) 0x3fffffff) /* 1 gigabyte - 1 */
/* * MaxAllocSize * Quasi-arbitrary limit on size of allocations. * * Note: * There is no guarantee that allocations smaller than MaxAllocSize * will succeed. Allocation requests larger than MaxAllocSize will * be summarily denied. * * XXX This is deliberately chosen to correspond to the limiting size * of varlena objects under TOAST. See VARATT_MASK_SIZE in postgres.h. * * XXX Also, various places in aset.c assume they can compute twice an * allocation's size without overflow, so beware of raising this. */
更新日 | 更新者 | 更新内容 |