diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-04-11 00:54:45 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-04-11 00:54:45 +0000 |
commit | 3c4ab3f51d927a75c97b59db3c7041ae3e2fa0a5 (patch) | |
tree | c8e71abcb592e59d4029718faed85662a9993709 /src/include | |
parent | 1934055cbe0b4ae29f6008154eb8b34a30c83816 (diff) |
Exit backend from SIGTERM or FATAL by simulating client EOF, rather than
calling proc_exit() directly. This should make SIGTERM more reliable.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/tcop/tcopprot.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 046fe3e810e..97556ccbf1d 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.64 2004/04/07 05:05:50 momjian Exp $ + * $PostgreSQL: pgsql/src/include/tcop/tcopprot.h,v 1.65 2004/04/11 00:54:45 momjian Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -34,6 +34,7 @@ extern bool log_hostname; extern DLLIMPORT const char *debug_query_string; extern char *rendezvous_name; extern int max_stack_depth; +extern bool in_fatal_exit; /* GUC-configurable parameters */ |