mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
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
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user