mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Pgindent run for 8.0.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.56 2004/08/29 04:13:00 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/mmgr/aset.c,v 1.57 2004/08/29 05:06:51 momjian Exp $
|
||||
*
|
||||
* NOTE:
|
||||
* This is a new (Feb. 05, 1999) implementation of the allocation set
|
||||
@@ -652,12 +652,12 @@ AllocSetAlloc(MemoryContext context, Size size)
|
||||
{
|
||||
/*
|
||||
* Use first power of 2 that is larger than previous block,
|
||||
* but not more than the allowed limit. (We don't simply double
|
||||
* the prior block size, because in some cases this could be a
|
||||
* funny size, eg if very first allocation was for an odd-sized
|
||||
* large chunk.)
|
||||
* but not more than the allowed limit. (We don't simply
|
||||
* double the prior block size, because in some cases this
|
||||
* could be a funny size, eg if very first allocation was for
|
||||
* an odd-sized large chunk.)
|
||||
*/
|
||||
Size pblksize = set->blocks->endptr - ((char *) set->blocks);
|
||||
Size pblksize = set->blocks->endptr - ((char *) set->blocks);
|
||||
|
||||
blksize = set->initBlockSize;
|
||||
while (blksize <= pblksize)
|
||||
|
||||
Reference in New Issue
Block a user