aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-03-04 16:03:38 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2012-03-04 16:03:38 -0500
commite2eed7891008cbf2b7d3868b3d77751b33ed09ad (patch)
tree88109cac1cd883ba58ef4143efbc0abf8e4b988b /src/backend/access/gist/gistvacuum.c
parent4fb694aebc524f2085152d8c98a85e01ef6136f4 (diff)
downloadpostgresql-e2eed7891008cbf2b7d3868b3d77751b33ed09ad.tar.gz
postgresql-e2eed7891008cbf2b7d3868b3d77751b33ed09ad.zip
Remove useless "rough estimate" path from mcelem_array_contained_selec.
The code in this function that tried to cope with a missing count histogram was quite ineffective for anything except a perfectly flat distribution. Furthermore, since we were already punting for missing MCELEM slot, it's rather useless to sweat over missing DECHIST: there are no cases where ANALYZE will create the first but not the second. So just simplify the code by punting rather than pretending we can do something useful.
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions