diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2018-06-26 21:55:59 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2018-06-26 21:55:59 +0300 |
commit | 4d54543efa5eb074ead4d0fadb2af4161c943044 (patch) | |
tree | afc6be6ac496ee9902149e7831cebd3fee985ab4 /doc/src | |
parent | a89357e2f7839f5bc0815f4cf9e565cd3ad7a185 (diff) |
Fix upper limit for vacuum_cleanup_index_scale_factor
6ca33a88 sets upper limit for vacuum_cleanup_index_scale_factor to
DBL_MAX. DBL_MAX appears to be platform-dependent. That causes
many buildfarm animals to fail, because we check boundaries of
vacuum_cleanup_index_scale_factor in regression tests.
This commit changes upper limit from DBL_MAX to just "large enough"
limit, which was arbitrary selected as 1e10.
Author: Alexander Korotkov
Reported-by: Tom Lane, Darafei Praliaskouski
Discussion: https://postgr.es/m/CAPpHfdvewmr4PcpRjrkstoNn1n2_6dL-iHRB21CCfZ0efZdBTg%40mail.gmail.com
Discussion: https://postgr.es/m/CAC8Q8tLYFOpKNaPS_E7V8KtPdE%3D_TnAn16t%3DA3LuL%3DXjfOO-BQ%40mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 574837889b3..cc2873f5363 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -6989,7 +6989,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; </para> <para> - The value should be non-negative. + The value can range from <literal>0</literal> to + <literal>10000000000</literal>. When <varname>vacuum_cleanup_index_scale_factor</varname> is set to <literal>0</literal>, index scans are never skipped during <command>VACUUM</command> cleanup. The default value is <literal>0.1</literal>. |