diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2006-05-19 15:15:37 +0000 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2006-05-19 15:15:37 +0000 |
| commit | 49b3462abb2cd5ff0866e28a4c3de49bfb423902 (patch) | |
| tree | da0577b1635c1c61d56f5d9f55d502177de0c93e /src/backend/postmaster/postmaster.c | |
| parent | 4adab7eed3b9e741d5a6dcf69d8d05fbe1866612 (diff) | |
| download | postgresql-49b3462abb2cd5ff0866e28a4c3de49bfb423902.tar.gz | |
Have autovacuum report its activities to the stat collector.
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
| -rw-r--r-- | src/backend/postmaster/postmaster.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 71923ec084..2ee450945f 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.483 2006/03/18 22:09:58 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.484 2006/05/19 15:15:37 alvherre Exp $ * * NOTES * @@ -2182,6 +2182,9 @@ reaper(SIGNAL_ARGS) { AutoVacPID = 0; autovac_stopped(); + /* Tell the collector about process termination */ + pgstat_beterm(pid); + if (exitstatus != 0) HandleChildCrash(pid, exitstatus, _("autovacuum process")); |
