aboutsummaryrefslogtreecommitdiff
path: root/src/backend/bootstrap/bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r--src/backend/bootstrap/bootstrap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c
index 8040dd5bb84..d7db3cd375c 100644
--- a/src/backend/bootstrap/bootstrap.c
+++ b/src/backend/bootstrap/bootstrap.c
@@ -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)