このページを編集する際は、編集に関する方針に従ってください。

概要

実装

#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.
*/

履歴

コメント



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS