1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Handle clog structure in shared memory in exec() case, for Win32.

This commit is contained in:
Bruce Momjian
2003-05-03 03:52:07 +00:00
parent 36fa297497
commit a7fd03e1de
7 changed files with 91 additions and 30 deletions

View File

@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.150 2003/05/02 21:59:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.151 2003/05/03 03:52:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -301,6 +301,11 @@ BootstrapMain(int argc, char *argv[])
Assert(dbName);
if (IsUnderPostmaster && ExecBackend && MyProc /* ordinary backend */)
{
AttachSharedMemoryAndSemaphores();
}
if (!IsUnderPostmaster)
{
if (!potential_DataDir)