aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-06-28 11:05:16 -0400
committerRobert Haas <rhaas@postgresql.org>2012-06-28 11:05:16 -0400
commitb0fc0df9364d2d2d17c0162cf3b8b59f6cb09f67 (patch)
tree86f21b6f337dc07611ba073ebe8d49f2f2c85394 /src/backend/commands/async.c
parentc5b3451a8e72cb7825933d4f4827f467cb38b498 (diff)
downloadpostgresql-b0fc0df9364d2d2d17c0162cf3b8b59f6cb09f67.tar.gz
postgresql-b0fc0df9364d2d2d17c0162cf3b8b59f6cb09f67.zip
Dramatically reduce System V shared memory consumption.
Except when compiling with EXEC_BACKEND, we'll now allocate only a tiny amount of System V shared memory (as an interlock to protect the data directory) and allocate the rest as anonymous shared memory via mmap. This will hopefully spare most users the hassle of adjusting operating system parameters before being able to start PostgreSQL with a reasonable value for shared_buffers. There are a bunch of documentation updates needed here, and we might need to adjust some of the HINT messages related to shared memory as well. But it's not 100% clear how portable this is, so before we write the documentation, let's give it a spin on the buildfarm and see what turns red.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions