pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Use fuzzy path cost tiebreaking rule in our oldest supported bra
2+ messages / 1 participants
[nested] [flat]

* pgsql: Use fuzzy path cost tiebreaking rule in our oldest supported bra
@ 2015-08-15 15:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-08-15 15:02 UTC (permalink / raw)
  To: pgsql-committers

Use fuzzy path cost tiebreaking rule in our oldest supported branches.

We've been doing it that way since 9.2, cf commit 33e99153e93b9acc,
but some recently-added regression test cases are making a few buildfarm
members fail (ie choose the "wrong" plan) in 9.0 and 9.1 due to
platform-specific roundoff differences in cost calculations.  To fix,
back-port the patch that made add_path treat cost difference ratios of
less than 1e-10 as equal.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3218f8c33612baca0a1f44d4a243c598ddebad9d

Modified Files
--------------
src/backend/optimizer/util/pathnode.c |   50 +++++++++++++++++++--------------
1 file changed, 29 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Use fuzzy path cost tiebreaking rule in our oldest supported bra
@ 2015-08-15 15:02 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-08-15 15:02 UTC (permalink / raw)
  To: pgsql-committers

Use fuzzy path cost tiebreaking rule in our oldest supported branches.

We've been doing it that way since 9.2, cf commit 33e99153e93b9acc,
but some recently-added regression test cases are making a few buildfarm
members fail (ie choose the "wrong" plan) in 9.0 and 9.1 due to
platform-specific roundoff differences in cost calculations.  To fix,
back-port the patch that made add_path treat cost difference ratios of
less than 1e-10 as equal.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9d6af7367e7b079c021c285f03128bad531b667e

Modified Files
--------------
src/backend/optimizer/util/pathnode.c |   50 +++++++++++++++++++--------------
1 file changed, 29 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-08-15 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-15 15:02 pgsql: Use fuzzy path cost tiebreaking rule in our oldest supported bra Tom Lane <tgl@sss.pgh.pa.us>
2015-08-15 15:02 pgsql: Use fuzzy path cost tiebreaking rule in our oldest supported bra Tom Lane <tgl@sss.pgh.pa.us>

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