mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Exit backend from SIGTERM or FATAL by simulating client EOF, rather than
calling proc_exit() directly. This should make SIGTERM more reliable.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user