diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-06-14 18:08:19 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-06-14 18:08:19 +0000 |
| commit | bbe42a1514f090084a2df55d3c51b5cab2d8e556 (patch) | |
| tree | f70e8b7635c3e5b9945901488f17321eea3135dd /src/include/pgstat.h | |
| parent | f4b0d28aa0b4df2b4aa268cf3e5fb58de1410f14 (diff) | |
Arrange to explicitly stop the pgstat processes at the same time we
begin the shutdown checkpoint; there isn't anything left for them to do,
so we may as well ensure that they shut down sooner rather than later.
Per discussion.
Diffstat (limited to 'src/include/pgstat.h')
| -rw-r--r-- | src/include/pgstat.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 96d3af7ab05..61cb86bb3c6 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.23 2004/05/29 22:48:22 tgl Exp $ + * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.24 2004/06/14 18:08:19 tgl Exp $ * ---------- */ #ifndef PGSTAT_H @@ -335,20 +335,13 @@ extern bool pgstat_collect_querystring; extern bool pgstat_collect_tuplelevel; extern bool pgstat_collect_blocklevel; -/* ---------- - * Other global variables - * ---------- - */ -extern bool pgstat_is_running; - /* ---------- * Functions called from postmaster * ---------- */ extern void pgstat_init(void); -extern void pgstat_start(void); -extern bool pgstat_ispgstat(int pid); +extern int pgstat_start(void); extern void pgstat_beterm(int pid); #ifdef EXEC_BACKEND |
