summaryrefslogtreecommitdiff
path: root/src/include/pgstat.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-03-09 05:11:53 +0000
committerBruce Momjian <bruce@momjian.us>2004-03-09 05:11:53 +0000
commit8567bb2d0672c76f8fbc9156ee62ce065d2f8e15 (patch)
tree56aa049f6dab95f832ab944ba70f6b81fa470431 /src/include/pgstat.h
parenteeec31774ab4e1a0fc1211daa58557ec1d693f2d (diff)
Corrects a typo, introduces missing variables, and rearranges the
initialization of stats process under EXEC_BACKEND. [A cleaner, rationalized approach to stat/backend/SSDataBase child processes under EXEC_BACKEND is on my TODO list. However this patch takes care of immediate concerns (ie. stats test now passes under win32)] Claudio Natoli
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r--src/include/pgstat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index 08e635a1afc..7380a883cfa 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 2001-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.20 2004/03/02 18:37:52 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.21 2004/03/09 05:11:53 momjian Exp $
* ----------
*/
#ifndef PGSTAT_H
@@ -368,6 +368,9 @@ extern void pgstat_mainChild(PGSTAT_FORK_ARGS);
* Functions called from postmaster
* ----------
*/
+#ifdef EXEC_BACKEND
+extern void pgstat_init_forkexec_backend(void);
+#endif
extern void pgstat_init(void);
extern void pgstat_start(void);
extern bool pgstat_ispgstat(int pid);