mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -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>.
|
||||
|
Reference in New Issue
Block a user