]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve speed of contrib/postgres_fdw regression tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jan 2017 13:31:31 +0000 (08:31 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Jan 2017 13:31:31 +0000 (08:31 -0500)
commitaa7f593b1ffa9717bd5570174944c06c482d1c1f
tree99cce3adab78eeeef411b6e2fc49954ab499397a
parent3838074f864eda344677fba39c6141ccbcd4104b
Improve speed of contrib/postgres_fdw regression tests.

Commit 7012b132d added some tests that consumed an excessive amount of
time, more than tripling the time needed for "make installcheck" for this
module.  Add filter conditions to reduce the number of rows scanned,
bringing the runtime down to within hailing distance of what it was before.

Jeevan Chalke and Ashutosh Bapat, per a gripe from me

Discussion: https://postgr.es/m/16565.1478104765@sss.pgh.pa.us
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/sql/postgres_fdw.sql