"Robert Haas" <robertmh...@gmail.com> writes: > On Thu, Dec 11, 2008 at 5:45 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Simon Riggs <si...@2ndquadrant.com> writes: >>> I would like it even more if there was a data type specific default. >>> Currently we have a special case for boolean, but that's it. >> >> No, we don't (or if we do I'd be interested to know where).
> utils/adt/selfuncs.c, get_variable_numdistinct That's got nothing to do with stats collection; it's a fallback case used if no stats are available. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers