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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce the scaling factor for attstattarget to number-of-lexemes
Date: 2008-12-15 15:06:31
Message-ID: 20081215150631.D7BDE7563FE@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2008-12-15 15:34:07 pgsql: Do not try to change a const variable.
Previous Message Tom Lane 2008-12-15 14:55:51 pgsql: Remove our dependencies on MB_CUR_MAX in favor of believing that