*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.90 1998/06/27 04:53:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.91 1998/06/27 13:24:19 momjian Exp $
*
* NOTES
*
* Let's clean up ourselves as the postmaster child
*/
- clear_proc_exit(); /* we don't want the postmaster's proc_exit() handlers */
+ on_exit_reset(); /* we don't want the postmaster's proc_exit() handlers */
/* ----------------
* register signal handlers.
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.27 1998/06/27 04:53:34 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.28 1998/06/27 13:24:20 momjian Exp $
*
* NOTES
*
}
/* ----------------------------------------------------------------
- * clear_proc_exit
+ * on_exit_reset
*
* this function clears all proc_exit() registered functions.
* ----------------------------------------------------------------
*/
void
-clear_proc_exit(void)
+on_exit_reset(void)
{
+ on_shmem_exit_index = 0;
on_proc_exit_index = 0;
}
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ipc.h,v 1.27 1998/06/27 04:53:49 momjian Exp $
+ * $Id: ipc.h,v 1.28 1998/06/27 13:24:21 momjian Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
extern void shmem_exit(int code);
extern int on_shmem_exit(void (*function) (), caddr_t arg);
extern int on_proc_exit(void (*function) (), caddr_t arg);
-extern void clear_proc_exit(void);
+extern void on_exit_reset(void);
extern IpcSemaphoreId
IpcSemaphoreCreate(IpcSemaphoreKey semKey,