File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.90 1998/06/27 04:53:31 momjian Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.91 1998/06/27 13:24:19 momjian Exp $
14
14
*
15
15
* NOTES
16
16
*
@@ -1226,7 +1226,7 @@ DoBackend(Port *port)
1226
1226
* Let's clean up ourselves as the postmaster child
1227
1227
*/
1228
1228
1229
- clear_proc_exit (); /* we don't want the postmaster's proc_exit() handlers */
1229
+ on_exit_reset (); /* we don't want the postmaster's proc_exit() handlers */
1230
1230
1231
1231
/* ----------------
1232
1232
* register signal handlers.
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.27 1998/06/27 04:53:34 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.28 1998/06/27 13:24:20 momjian Exp $
11
11
*
12
12
* NOTES
13
13
*
@@ -215,14 +215,15 @@ on_shmem_exit(void (*function) (), caddr_t arg)
215
215
}
216
216
217
217
/* ----------------------------------------------------------------
218
- * clear_proc_exit
218
+ * on_exit_reset
219
219
*
220
220
* this function clears all proc_exit() registered functions.
221
221
* ----------------------------------------------------------------
222
222
*/
223
223
void
224
- clear_proc_exit (void )
224
+ on_exit_reset (void )
225
225
{
226
+ on_shmem_exit_index = 0 ;
226
227
on_proc_exit_index = 0 ;
227
228
}
228
229
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: ipc.h,v 1.27 1998/06/27 04:53:49 momjian Exp $
9
+ * $Id: ipc.h,v 1.28 1998/06/27 13:24:21 momjian Exp $
10
10
*
11
11
* NOTES
12
12
* This file is very architecture-specific. This stuff should actually
@@ -75,7 +75,7 @@ extern void proc_exit(int code);
75
75
extern void shmem_exit (int code );
76
76
extern int on_shmem_exit (void (* function ) (), caddr_t arg );
77
77
extern int on_proc_exit (void (* function ) (), caddr_t arg );
78
- extern void clear_proc_exit (void );
78
+ extern void on_exit_reset (void );
79
79
80
80
extern IpcSemaphoreId
81
81
IpcSemaphoreCreate (IpcSemaphoreKey semKey ,
You can’t perform that action at this time.
0 commit comments