diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-02-21 01:41:55 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-02-21 01:41:55 +0000 |
| commit | 9d197856dd5eda5cf85b15e564ae09ef8fef0e9e (patch) | |
| tree | ac85492fb01823aeb836e54f5e5511366346f418 /src/include/storage/ipc.h | |
| parent | 75cccd0ad3184e3fa283f407c765520d3c774c86 (diff) | |
| download | postgresql-9d197856dd5eda5cf85b15e564ae09ef8fef0e9e.tar.gz | |
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.
Diffstat (limited to 'src/include/storage/ipc.h')
| -rw-r--r-- | src/include/storage/ipc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h index 76a11e5b13..e9a96c8190 100644 --- a/src/include/storage/ipc.h +++ b/src/include/storage/ipc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: ipc.h,v 1.33 1999/02/19 06:06:33 tgl Exp $ + * $Id: ipc.h,v 1.34 1999/02/21 01:41:47 tgl Exp $ * * NOTES * This file is very architecture-specific. This stuff should actually @@ -96,7 +96,6 @@ extern void AttachSLockMemory(IPCKey key); #ifdef HAS_TEST_AND_SET -#define NSLOCKS 2048 #define NOLOCK 0 #define SHAREDLOCK 1 #define EXCLUSIVELOCK 2 |
