diff options
| author | Tom Lane | 2009-08-31 19:41:00 +0000 |
|---|---|---|
| committer | Tom Lane | 2009-08-31 19:41:00 +0000 |
| commit | 00e6a16d01683762c2f34eb4909fc739093ab3bf (patch) | |
| tree | 85cce02119a1bbfb8d43b3abdfe6e98b330fadfb /src/backend/utils/init/globals.c | |
| parent | 25ec228ef760eb91c094cc3b6dea7257cc22ffb5 (diff) | |
Change the autovacuum launcher to read pg_database directly, rather than
via the "flat files" facility. This requires making it enough like a backend
to be able to run transactions; it's no longer an "auxiliary process" but
more like the autovacuum worker processes. Also, its signal handling has
to be brought into line with backends/workers. In particular, since it
now has to handle procsignal.c processing, the special autovac-launcher-only
signal conditions are moved to SIGUSR2.
Alvaro, with some cleanup from Tom
Diffstat (limited to 'src/backend/utils/init/globals.c')
| -rw-r--r-- | src/backend/utils/init/globals.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index e4f5dfa5849..fe2cef87d3e 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.109 2009/08/28 18:23:53 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.110 2009/08/31 19:41:00 tgl Exp $ * * NOTES * Globals used all over the place should be declared here and not @@ -100,8 +100,8 @@ int maintenance_work_mem = 16384; /* * Primary determinants of sizes of shared-memory structures. MaxBackends is - * MaxConnections + autovacuum_max_workers (it is computed by the GUC assign - * hook): + * MaxConnections + autovacuum_max_workers + 1 (it is computed by the GUC + * assign hooks for those variables): */ int NBuffers = 1000; int MaxBackends = 100; |
