We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86482e1 commit cc384faCopy full SHA for cc384fa
src/backend/storage/ipc/ipci.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.25 1999/05/28 17:03:29 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipci.c,v 1.26 1999/05/31 18:28:52 tgl Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -83,6 +83,8 @@ CreateSharedMemoryAndSemaphores(IPCKey key, int maxBackends)
83
size += MMShmemSize();
84
#endif
85
size += 100000;
86
+ /* might as well round it off to a multiple of a K or so... */
87
+ size += 1024 - (size % 1024);
88
89
if (DebugLvl > 1)
90
{
0 commit comments