pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rework the stats_ext test
Date: Mon, 27 Mar 2017 15:43:59 +0000
Message-ID: <E1csWoJ-0007x4-PM@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Rework the stats_ext test

As suggested by Tom Lane, avoid printing specific estimated cost values,
because they vary across architectures; instead, verify plan shapes (in
this case, HashAggregate vs. GroupAggregate), as we do in other planner
tests.

We can now remove expected/stats_ext_1.out.

Author: Tomas Vondra

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bed9ef5a16239d91d97a1fa2efd9309c3cbbc4b2

Modified Files
--------------
src/test/regress/expected/stats_ext.out   | 231 ++++++++++++++++++++++++------
src/test/regress/expected/stats_ext_1.out | 155 --------------------
src/test/regress/sql/stats_ext.sql        |  83 +++++++++--
3 files changed, 262 insertions(+), 207 deletions(-)


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


Message-ID: <E1csWoJ-0007x4-PM@gemulon.postgresql.org>
Permalink:  ../E1csWoJ-0007x4-PM@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1csWoJ-0007x4-PM@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Rework the stats_ext test
  In-Reply-To: <E1csWoJ-0007x4-PM@gemulon.postgresql.org>
  References: <E1csWoJ-0007x4-PM@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