pgsql: Tweak new regression test case for better portability.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak new regression test case for better portability.
Date: 2014-06-05 01:31:49
Message-ID: E1WsMWz-0003oH-HK@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tweak new regression test case for better portability.

Buildfarm says we get different plans on 32-bit and 64-bit platforms,
probably because of MAXALIGN-related differences in memory-consumption
calculations. Add some dummy WHERE clauses so that the planner estimates
different sizes for the three generate_series() relations; that should
stabilize the choice of join order.

Branch
------
master

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

Modified Files
--------------
src/test/regress/expected/pg_lsn.out | 8 ++++++--
src/test/regress/sql/pg_lsn.sql | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-06-05 09:59:30 pgsql: Adjust SP-GiST WAL record formats to reduce alignment padding.
Previous Message Tom Lane 2014-06-05 00:46:07 pgsql: Add btree and hash opclasses for pg_lsn.