pgsql: Fix stats_ext test in 32 bit machines

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix stats_ext test in 32 bit machines
Date: 2017-03-24 19:35:54
Message-ID: E1crV06-0005tD-7B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix stats_ext test in 32 bit machines

Because tuple packing is different (because of the MAXALIGN difference),
the expected costs of a seqscan is different.

The commonly used trick of eliding costs in EXPLAIN output (COSTS OFF)
would make the tests completely pointless. Instead, add an alternative
expected file.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6e9aaf6e471b446e5ccad6e9e174c3490978ae13

Modified Files
--------------
src/test/regress/expected/stats_ext_1.out | 155 ++++++++++++++++++++++++++++++
1 file changed, 155 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-24 19:43:30 Re: Re: [COMMITTERS] pgsql: Implement multivariate n-distinct coefficients
Previous Message Alvaro Herrera 2017-03-24 19:21:18 Re: Re: [COMMITTERS] pgsql: Implement multivariate n-distinct coefficients