Increase the default value of default_statistics_target from 10 to 100,
Tom Lane <tgl@sss.pgh.pa.us>
Increase the default value of default_statistics_target from 10 to 100, and its maximum value from 1000 to 10000. ALTER TABLE SET STATISTICS similarly now allows a value up to 10000. Per discussion.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +2 −2 |
| doc/src/sgml/perform.sgml | modified | +2 −2 |
| doc/src/sgml/ref/alter_table.sgml | modified | +2 −2 |
| doc/src/sgml/ref/analyze.sgml | modified | +6 −6 |
| src/backend/commands/analyze.c | modified | +4 −4 |
| src/backend/commands/tablecmds.c | modified | +3 −3 |
| src/backend/tsearch/ts_typanalyze.c | modified | +5 −5 |
| src/backend/utils/misc/guc.c | modified | +2 −2 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −1 |