Cleanups.

This commit is contained in:
Bruce Momjian 1998-06-18 03:44:00 +00:00
parent c6f18c260d
commit 94cc3abe60
2 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.88 1998/06/15 19:29:00 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.89 1998/06/18 03:43:59 momjian Exp $
* *
* NOTES * NOTES
* *
@ -955,11 +955,10 @@ CleanupProc(int pid,
} }
/* /*
* ------------------------- If a backend dies in an ugly way (i.e. * If a backend dies in an ugly way (i.e.
* exit status not 0) then we must signal all other backends to * exit status not 0) then we must signal all other backends to
* quickdie. If exit status is zero we assume everything is hunky * quickdie. If exit status is zero we assume everything is hunky
* dory and simply remove the backend from the active backend list. * dory and simply remove the backend from the active backend list.
* -------------------------
*/ */
if (!exitstatus) if (!exitstatus)
{ {
@ -1021,7 +1020,7 @@ CleanupProc(int pid,
} }
/* /*
* ------------- Quasi_exit means run all of the on_exitpg routines * Quasi_exit means run all of the on_exitpg routines
* but don't acutally call exit(). The on_exit list of routines to do * but don't acutally call exit(). The on_exit list of routines to do
* is also truncated. * is also truncated.
* *
@ -1030,7 +1029,7 @@ CleanupProc(int pid,
* requested and received a connection and I have forked off another * requested and received a connection and I have forked off another
* backend. This prevents me from reinitializing shared stuff more * backend. This prevents me from reinitializing shared stuff more
* than once for the set of backends that caused the failure and were * than once for the set of backends that caused the failure and were
* killed off. ---------------- * killed off.
*/ */
if (ActiveBackends == TRUE && Reinit) if (ActiveBackends == TRUE && Reinit)
{ {

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.22 1998/06/15 19:29:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.23 1998/06/18 03:44:00 momjian Exp $
* *
* NOTES * NOTES
* *
@ -45,12 +45,14 @@
#include <sys/ipc.h> #include <sys/ipc.h>
#endif #endif
#ifdef NOT_USED
#if defined(bsd44) #if defined(bsd44)
int UsePrivateMemory = 1; int UsePrivateMemory = 1;
#else #else
int UsePrivateMemory = 0; int UsePrivateMemory = 0;
#endif
#endif #endif
static void IpcMemoryDetach(int status, char *shmaddr); static void IpcMemoryDetach(int status, char *shmaddr);