Simplify and rename some GUC variables, per various recent discussions:
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Sep 2007 03:12:23 +0000 (03:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Sep 2007 03:12:23 +0000 (03:12 +0000)
commit48f7e6439568e5d665f622e2973becc50a86b64a
tree61e36a6230783a6e8374e72b247fb3597f4d5a3f
parent02138357ffc8c41a3d646035368712a5394f1f5f
Simplify and rename some GUC variables, per various recent discussions:

* stats_start_collector goes away; we always start the collector process,
unless prevented by a problem with setting up the stats UDP socket.

* stats_reset_on_server_start goes away; it seems useless in view of the
availability of pg_stat_reset().

* stats_block_level and stats_row_level are merged into a single variable
"track_counts", which controls all reports sent to the collector process.

* stats_command_string is renamed to track_activities.

* log_autovacuum is renamed to log_autovacuum_min_duration to better reflect
its meaning.

The log_autovacuum change is not a compatibility issue since it didn't exist
before 8.3 anyway.  The other changes need to be release-noted.
14 files changed:
doc/src/sgml/config.sgml
doc/src/sgml/maintenance.sgml
doc/src/sgml/monitoring.sgml
doc/src/sgml/release.sgml
src/backend/commands/analyze.c
src/backend/commands/vacuumlazy.c
src/backend/postmaster/autovacuum.c
src/backend/postmaster/pgstat.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/pgstat.h
src/include/postmaster/autovacuum.h
src/test/regress/expected/stats.out
src/test/regress/sql/stats.sql