Обсуждение: pgsql: Reduce the scaling factor for attstattarget to number-of-lexemes

Поиск
Список
Период
Сортировка

pgsql: Reduce the scaling factor for attstattarget to number-of-lexemes

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Reduce the scaling factor for attstattarget to number-of-lexemes from 100
to 10, to compensate for the recent change in default statistics target.
The original number was pulled out of the air anyway :-(, but it was picked
in the context of the old default, so holding the default size of the
MCELEM array constant seems the best thing.  Per discussion.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        ts_typanalyze.c (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_typanalyze.c?r1=1.4&r2=1.5)