postgresql/src/backend/storage
Tom Lane 0007490e09 Convert the arithmetic for shared memory size calculation from 'int'
to 'Size' (that is, size_t), and install overflow detection checks in it.
This allows us to remove the former arbitrary restrictions on NBuffers
etc.  It won't make any difference in a 32-bit machine, but in a 64-bit
machine you could theoretically have terabytes of shared buffers.
(How efficiently we could manage 'em remains to be seen.)  Similarly,
num_temp_buffers, work_mem, and maintenance_work_mem can be set above
2Gb on a 64-bit machine.  Original patch from Koichi Suzuki, additional
work by moi.
2005-08-20 23:26:37 +00:00
..
buffer Convert the arithmetic for shared memory size calculation from 'int' 2005-08-20 23:26:37 +00:00
file Cause ShutdownPostgres to do a normal transaction abort during backend 2005-08-08 03:12:16 +00:00
freespace Convert the arithmetic for shared memory size calculation from 'int' 2005-08-20 23:26:37 +00:00
ipc Convert the arithmetic for shared memory size calculation from 'int' 2005-08-20 23:26:37 +00:00
large_object Solve the problem of OID collisions by probing for duplicate OIDs 2005-08-12 01:36:05 +00:00
lmgr Convert the arithmetic for shared memory size calculation from 'int' 2005-08-20 23:26:37 +00:00
page Modify XLogInsert API to make callers specify whether pages to be backed 2005-06-06 20:22:58 +00:00
smgr Cause ShutdownPostgres to do a normal transaction abort during backend 2005-08-08 03:12:16 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00