aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-12-11 15:08:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-12-11 15:08:38 -0500
commit9c9a1f2ebb00f96f1164f01006ab9861b36f1ab1 (patch)
treef2d39452345af9d3f60edabb3dfdd8d560054f16 /src/backend/commands/async.c
parentf5d9fdcc773c34992a9ebe867ed452a670b91d29 (diff)
downloadpostgresql-9c9a1f2ebb00f96f1164f01006ab9861b36f1ab1.tar.gz
postgresql-9c9a1f2ebb00f96f1164f01006ab9861b36f1ab1.zip
Tweak placement of explicit ANALYZE commands in the regression tests.
Make the COPY test, which loads most of the large static tables used in the tests, also explicitly ANALYZE those tables. This allows us to get rid of various ad-hoc, and rather redundant, ANALYZE commands that had gotten stuck into various test scripts over time to ensure we got consistent plan choices. (We could have done a database-wide ANALYZE, but that would cause stats to get attached to the small static tables too, which results in plan changes compared to the historical behavior. I'm not sure that's a good idea, so not going that far for now.) Back-patch to 9.0, since 9.0 and 9.1 are currently sometimes failing regression tests for lack of an "ANALYZE tenk1" in the subselect test. There's no need for this in 8.4 since we didn't print any plans back then.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions