diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-04-11 13:15:59 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-04-11 13:15:59 -0400 |
commit | f72d9a5e7dda5f89336a60e8b720ef9964a67177 (patch) | |
tree | b09dbdb31ad1d98cc51ef8544e0105029bf0b4f8 /src/backend/utils/adt/pgstatfuncs.c | |
parent | 65d857d92c418d732e3531a3761a32f2e352cb35 (diff) | |
download | postgresql-f72d9a5e7dda5f89336a60e8b720ef9964a67177.tar.gz postgresql-f72d9a5e7dda5f89336a60e8b720ef9964a67177.zip |
Remove redundant and ineffective test for btree insertion fast path.
indexing.sql's test for this feature was added along with the
feature in commit 2b2727343. However, shortly later that test was
rendered ineffective by commit 074251db6, which limited when the
optimization would be applied, so that the test didn't test it.
Since then, commit dd299df81 added new tests (in btree_index.sql)
that actually do test the feature. Code coverage comparisons
confirm that this test sequence adds no meaningful coverage, and
it's rather expensive, accounting for nearly half of the runtime
of indexing.sql according to my measurements. So let's remove it.
Per advice from Peter Geoghegan.
Discussion: https://postgr.es/m/735.1554935715@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions