pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix upper limit for vacuum_cleanup_index_scale_factor
Date: Tue, 26 Jun 2018 18:57:28 +0000
Message-ID: <E1fXt9c-0002IZ-DP@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d54543efa5eb074ead4d0fadb2af4161c943044

Modified Files
--------------
doc/src/sgml/config.sgml                  | 3 ++-
src/backend/access/common/reloptions.c    | 2 +-
src/backend/utils/misc/guc.c              | 2 +-
src/test/regress/expected/btree_index.out | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)



Message-ID: <E1fXt9c-0002IZ-DP@gemulon.postgresql.org>
Permalink:  ../E1fXt9c-0002IZ-DP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fXt9c-0002IZ-DP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Fix upper limit for vacuum_cleanup_index_scale_factor
  In-Reply-To: <E1fXt9c-0002IZ-DP@gemulon.postgresql.org>
  References: <E1fXt9c-0002IZ-DP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox