]> granicus.if.org Git - postgresql/commit
Reduce hash size for compute_array_stats, compute_tsvector_stats.
authorRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 02:05:41 +0000 (22:05 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 02:05:41 +0000 (22:05 -0400)
commit85efd5f06593b80bbe01e541d78b336c1077213e
tree4d01fb9a8bdbefd92f69e7aaa8acf3f86b6ac545
parent9d435d57e1f8ec7e51d40722854252875d8cc6eb
Reduce hash size for compute_array_stats, compute_tsvector_stats.

The size is only a hint, but a big hint chews up a lot of memory without
apparently improving performance much.

Analysis and patch by Noah Misch.
src/backend/tsearch/ts_typanalyze.c
src/backend/utils/adt/array_typanalyze.c