From 94cc3abe604025eb4703c66756ddf755dc054e94 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 18 Jun 1998 03:44:00 +0000 Subject: [PATCH] Cleanups. --- src/backend/postmaster/postmaster.c | 9 ++++----- src/backend/storage/ipc/ipc.c | 4 +++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index aec207e528..5c44655910 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -10,7 +10,7 @@ * * * 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 * @@ -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 * quickdie. If exit status is zero we assume everything is hunky * dory and simply remove the backend from the active backend list. - * ------------------------- */ 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 * is also truncated. * @@ -1030,7 +1029,7 @@ CleanupProc(int pid, * requested and received a connection and I have forked off another * backend. This prevents me from reinitializing shared stuff more * than once for the set of backends that caused the failure and were - * killed off. ---------------- + * killed off. */ if (ActiveBackends == TRUE && Reinit) { diff --git a/src/backend/storage/ipc/ipc.c b/src/backend/storage/ipc/ipc.c index b9834c0f8d..cc414e6645 100644 --- a/src/backend/storage/ipc/ipc.c +++ b/src/backend/storage/ipc/ipc.c @@ -7,7 +7,7 @@ * * * 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 * @@ -45,12 +45,14 @@ #include #endif +#ifdef NOT_USED #if defined(bsd44) int UsePrivateMemory = 1; #else int UsePrivateMemory = 0; +#endif #endif static void IpcMemoryDetach(int status, char *shmaddr); -- 2.40.0