Noah Misch
263865a489
Permit super-MaxAllocSize allocations with MemoryContextAllocHuge().
...
The MaxAllocSize guard is convenient for most callers, because it
reduces the need for careful attention to overflow, data type selection,
and the SET_VARSIZE() limit. A handful of callers are happy to navigate
those hazards in exchange for the ability to allocate a larger chunk.
Introduce MemoryContextAllocHuge() and repalloc_huge(). Use this in
tuplesort.c and tuplestore.c, enabling internal sorts of up to INT_MAX
tuples, a factor-of-48 increase. In particular, B-tree index builds can
now benefit from much-larger maintenance_work_mem settings.
Reviewed by Stephen Frost, Simon Riggs and Jeff Janes.
2013-06-27 14:53:57 -04:00
..
2011-02-03 22:32:49 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-06-12 17:53:33 -04:00
2013-01-01 17:15:01 -05:00
2011-04-05 09:35:43 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-04-20 11:04:41 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-05-29 16:58:43 -04:00
2013-05-29 16:58:43 -04:00
2013-01-01 17:15:01 -05:00
2013-03-05 13:02:30 -05:00
2013-01-01 17:15:01 -05:00
2013-05-29 16:58:43 -04:00
2013-03-28 09:18:02 +00:00
2013-01-01 17:15:01 -05:00
2013-01-13 22:20:22 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-03-29 14:12:13 -04:00
2013-05-29 16:58:43 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-06-26 20:22:25 -04:00
2013-06-27 14:53:57 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-06-27 14:53:57 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2010-09-20 22:08:53 +02:00
2013-01-01 17:15:01 -05:00
2013-05-29 16:58:43 -04:00
2013-01-01 17:15:01 -05:00
2010-09-20 22:08:53 +02:00
2013-03-08 15:03:19 +02:00
2013-01-01 17:15:01 -05:00
2013-05-29 16:58:43 -04:00
2013-01-29 17:08:26 -05:00
2013-01-01 17:15:01 -05:00
2013-05-29 16:58:43 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-03-16 23:22:57 -04:00
2013-04-20 11:04:41 -04:00
2013-01-23 12:04:59 -03:00
2013-06-27 14:53:57 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00