OSDN Git Service

Rearrange handling of MAXBACKENDS a little bit. The default setting
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Feb 1999 01:41:55 +0000 (01:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Feb 1999 01:41:55 +0000 (01:41 +0000)
commit9d197856dd5eda5cf85b15e564ae09ef8fef0e9e
treeac85492fb01823aeb836e54f5e5511366346f418
parent75cccd0ad3184e3fa283f407c765520d3c774c86
Rearrange handling of MAXBACKENDS a little bit.  The default setting
of MAXBACKENDS is now 1024, since all it's costing is about 32 bytes of memory
per array slot.  configure's --with-maxbackends switch now controls DEF_MAXBACKENDS
which is simply the default value of the postmaster's -N switch.  Thus,
the out-of-the-box configuration will still limit you to 64 backends,
but you can go up to 1024 backends simply by restarting the postmaster with
a different -N switch --- no rebuild required.
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/ipc.c
src/backend/storage/ipc/ipci.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/configure
src/configure.in
src/include/config.h.in
src/include/storage/ipc.h
src/include/storage/lock.h