aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-08-05 02:06:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-08-05 02:06:50 +0000
commite8f1097361d9d2012c751d7e66cd4dd1b6d26ac6 (patch)
treee507c9ebaf5da19a1234c0927485fb49c6c83c78 /src/include/miscadmin.h
parent5181d37e4c88c2b622fe54feb74845320e36c71e (diff)
downloadpostgresql-e8f1097361d9d2012c751d7e66cd4dd1b6d26ac6.tar.gz
postgresql-e8f1097361d9d2012c751d7e66cd4dd1b6d26ac6.zip
Endeavor to make pgstats buffer process (a) safe and (b) useful.
Make sure it exits immediately when collector process dies --- in old code, buffer process would hang around and compete with the new buffer process for packets. Make sure it doesn't block on writing the pipe when the collector falls more than a pipeload behind. Avoid leaking pgstats FDs into every backend.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index ce4255cb7d5..c3afaf89eca 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: miscadmin.h,v 1.87 2001/06/18 21:38:02 momjian Exp $
+ * $Id: miscadmin.h,v 1.88 2001/08/05 02:06:50 tgl Exp $
*
* NOTES
* some of the information in this file should be moved to
@@ -108,6 +108,7 @@ extern void ProcessInterrupts(void);
* from postmaster/postmaster.c
*/
extern int PostmasterMain(int argc, char *argv[]);
+extern void ClosePostmasterPorts(bool pgstat_too);
/*
* from utils/init/globals.c