pgsql: Tweak postgres_fdw regression test so autovacuum doesn't change - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Tweak postgres_fdw regression test so autovacuum doesn't change
Date
Msg-id E1UlpFL-00035k-Nx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Tweak postgres_fdw regression test so autovacuum doesn't change results.

Autovacuum occurring while the test runs could allow some of the inserts to
go into recycled space, thus changing the output ordering of later queries.
While we could complicate those queries to force sorting of their output
rows, it doesn't seem like that would make the test better in any
meaningful way, and conceivably it could hide unexpected diffs.  Instead,
tweak the affected queries so that the inserted rows aren't updated by the
following UPDATE.  Per buildfarm.

Branch
------
master

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

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out |  222 ++++++++++++------------
contrib/postgres_fdw/sql/postgres_fdw.sql      |    6 +-
2 files changed, 113 insertions(+), 115 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove unnecessary restrictions about RowExprs in transformAExpr
Next
From: Joe Conway
Date:
Subject: pgsql: Fix ordering of obj id for Rules and EventTriggers in pg_dump.