Thread: pgsql: Reduce hash size for compute_array_stats, compute_tsvector_stats

pgsql: Reduce hash size for compute_array_stats, compute_tsvector_stats

From
Robert Haas
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/85efd5f06593b80bbe01e541d78b336c1077213e

Modified Files
--------------
src/backend/tsearch/ts_typanalyze.c      |    2 +-
src/backend/utils/adt/array_typanalyze.c |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)