>>>>> "Tom" == Tom Lane <t...@sss.pgh.pa.us> writes:
Tom> What I did in the patch is to scale the formerly fixed "-1.0" Tom> stadistinct estimate to discount the fraction of nulls we found. This seems quite dubious to me. stadistinct representing only the non-null values seems to me to be substantially more useful and less confusing; it should be up to consumers to take stanullfrac into account (in general they already do) since in many cases we explicitly do _not_ want to count nulls. -- Andrew (irc:RhodiumToad) -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers