> I think in addition the system global name "sharemem.1" should be made more
> 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
This commit is contained in:
parent
5666485aa8
commit
03b12ef987
@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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;
|
DWORD dwRet;
|
||||||
|
|
||||||
s_segsize = size;
|
s_segsize = size;
|
||||||
sprintf(szShareMem, "sharemem.%d", memKey);
|
sprintf(szShareMem, "PostgreSQL.%d", memKey);
|
||||||
|
|
||||||
if (flag & IPC_CREAT)
|
if (flag & IPC_CREAT)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user