Add explicit VACUUM to stabilize plans in inherit tests
authorTomas Vondra <tomas@2ndquadrant.com>
Sun, 8 Oct 2017 18:16:47 +0000 (20:16 +0200)
committerTomas Vondra <tomas@2ndquadrant.com>
Sun, 8 Oct 2017 18:16:47 +0000 (20:16 +0200)
commit445372c5d3ad77f14b63c23eba4e37fecc631946
tree80203149bf242b10fd32e3ae5921d70b00dbe65e
parentea34783b8c01f8396ae1b576a117f69d27e1e381
Add explicit VACUUM to stabilize plans in inherit tests

On stock PostgreSQL, CREATE INDEX also updates statistics in pg_class
(relpages and reltuples). But Postgres-XL does not do that, which may
result in plan differences when the test relies on this behavior.

This is the same issue as in cfb055553687c257dd1d1ed123356c892f48a804,
but affecting inherit regression tests. So fix it in the same way, by
doing an explicit vacuum on the tables.
src/test/regress/expected/inherit.out
src/test/regress/sql/inherit.sql