From c672aa823bdc02831ae60f403b2069107de675f7 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 25 Feb 2004 19:41:23 +0000 Subject: For application to HEAD, following community review. * Changes incorrect CYGWIN defines to __CYGWIN__ * Some localtime returns NULL checks (when unchecked cause SEGVs under Win32 regression tests) * Rationalized CreateSharedMemoryAndSemaphores and AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it); requires attention. Claudio Natoli --- src/backend/bootstrap/bootstrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/bootstrap') diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 2f67061c48b..f18fece3982 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 - * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.176 2004/02/10 01:55:24 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/bootstrap/bootstrap.c,v 1.177 2004/02/25 19:41:22 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -428,7 +428,7 @@ BootstrapMain(int argc, char *argv[]) #ifdef EXEC_BACKEND if (IsUnderPostmaster) - AttachSharedMemoryAndSemaphores(); + CreateSharedMemoryAndSemaphores(false, MaxBackends, 0); #endif XLOGPathInit(); -- cgit v1.2.3