diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-02-25 19:41:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-02-25 19:41:23 +0000 |
commit | c672aa823bdc02831ae60f403b2069107de675f7 (patch) | |
tree | 0d5566d0df4056250b3a7d74d21a7d69b58f28b2 /src/backend/bootstrap/bootstrap.c | |
parent | 5ada9ef088ae0151a2f6efe48203100ef5b51113 (diff) | |
download | postgresql-c672aa823bdc02831ae60f403b2069107de675f7.tar.gz postgresql-c672aa823bdc02831ae60f403b2069107de675f7.zip |
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
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |