mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -416,7 +416,7 @@ static relopt_real realRelOpts[] =
|
||||
RELOPT_KIND_BTREE,
|
||||
ShareUpdateExclusiveLock
|
||||
},
|
||||
-1, 0.0, DBL_MAX
|
||||
-1, 0.0, 1e10
|
||||
},
|
||||
/* list terminator */
|
||||
{{NULL}}
|
||||
|
Reference in New Issue
Block a user