summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-11-22 02:06:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-11-22 02:06:31 +0000
commit316c4c57e2b18cb62d73c38f4331f6f7def75385 (patch)
treea48e3ddb09062427dc7197cdece601e0e97ee674 /src/include
parentbb203c75a97a90b7b3f99d845decbc3f8066b8c2 (diff)
Clean up some problems in error recovery --- elog() was pretty broken
for the case of errors in backend startup, and proc_exit's method for coping with errors during proc_exit was *completely* busted. Fixed per discussions on pghackers around 11/6/99.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/ipc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h
index a123448e2a5..1293eedde6f 100644
--- a/src/include/storage/ipc.h
+++ b/src/include/storage/ipc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ipc.h,v 1.36 1999/10/06 21:58:17 vadim Exp $
+ * $Id: ipc.h,v 1.37 1999/11/22 02:06:30 tgl Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@@ -71,6 +71,8 @@ typedef int IpcMemoryId;
/* ipc.c */
+extern bool proc_exit_inprogress;
+
extern void proc_exit(int code);
extern void shmem_exit(int code);
extern int on_shmem_exit(void (*function) (), caddr_t arg);