postgresql/src/backend/port
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
..
aix > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not 2002-10-09 16:21:54 +00:00
beos Refactor fork()-related code. We need to do various housekeeping tasks 2005-03-10 07:14:03 +00:00
darwin Pgindent run for 8.0. 2004-08-29 05:07:03 +00:00
dynloader [ backpatched to 8.0.X.] 2005-08-12 21:23:10 +00:00
hpux Since HPUX now exists for Itanium, we should decouple the assumption 2003-08-01 19:12:52 +00:00
nextstep $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
qnx4 Localize our dependencies on the way to create NAN or INFINITY. 2004-03-15 03:29:22 +00:00
sunos4 Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
tas $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
win32 Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
ipc_test.c Fix bit-rot in ipc_test.c; it didn't include some stuff that pg_shmem.c 2005-02-05 20:07:16 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
posix_sema.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
sysv_sema.c Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
sysv_shmem.c Convert the arithmetic for shared memory size calculation from 'int' 2005-08-20 23:26:37 +00:00