Instead of having a configure-time DEFAULT_ATTSTATTARGET, store -1 in
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 31 Jul 2002 17:19:54 +0000 (17:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 31 Jul 2002 17:19:54 +0000 (17:19 +0000)
commitce7565ab91100747d250ef67d72af5c1b01150d4
tree968d1af6054a60d13e292d786c2f695da02b2a9d
parent8be3cfbbd5e9afaa77a86251566d3ca04217fcb2
Instead of having a configure-time DEFAULT_ATTSTATTARGET, store -1 in
attstattarget to indicate 'use the default'.  The default is now a GUC
variable default_statistics_target, and so may be changed on the fly.  Along
the way we gain the ability to have pg_dump dump the per-column statistics
target when it's not the default.  Patch by Neil Conway, with some kibitzing
from Tom Lane.
18 files changed:
doc/src/sgml/catalogs.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/analyze.sgml
doc/src/sgml/runtime.sgml
src/backend/access/common/tupdesc.c
src/backend/catalog/genbki.sh
src/backend/catalog/heap.c
src/backend/commands/analyze.c
src/backend/commands/tablecmds.c
src/backend/parser/gram.y
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/psql/tab-complete.c
src/include/catalog/pg_attribute.h
src/include/commands/vacuum.h
src/include/pg_config.h.in