> I think in addition the system global name "sharemem.1" should be made more
authorBruce Momjian
Fri, 12 Nov 2004 17:59:42 +0000 (17:59 +0000)
committerBruce Momjian
Fri, 12 Nov 2004 17:59:42 +0000 (17:59 +0000)
> pg specific, like "PostgreSQL.1". I have not done this since a new compile
> would not detect a running old beta. But now would be the time (or never).

Zeugswetter Andreas

src/backend/port/win32/shmem.c

index ada954f5cb47ab5e9a1105cd11a19359bd8c2cf9..3391a25ce548ac038d8edd746cad5bcb0b8cb71a 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/port/win32/shmem.c,v 1.8 2004/08/29 05:06:46 momjian Exp $
+ *   $PostgreSQL: pgsql/src/backend/port/win32/shmem.c,v 1.9 2004/11/12 17:59:42 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -89,7 +89,7 @@ shmget(int memKey, int size, int flag)
    DWORD       dwRet;
 
    s_segsize = size;
-   sprintf(szShareMem, "sharemem.%d", memKey);
+   sprintf(szShareMem, "PostgreSQL.%d", memKey);
 
    if (flag & IPC_CREAT)
    {