Re: Tuple sampling

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tuple sampling
Дата
Msg-id 10795.1085406222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tuple sampling  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-patches
Manfred Koizar <mkoi-pg@aon.at> writes:
> Performance was not the primary motivation.  I found it confusing to
> have doubles everywhere and not to know whether a variable is declared
> as double, because
>   . we need the fractional part (e.g. a probability)
>   . or it should be able to hold an integral value of more than 32 bits.
> So I just invented my own datatype for huge integers.

Well, if you want to "typedef double TupleCount" as a documentation aid,
I don't object, but let's not do it just locally in analyze.c.  There
are a bunch of other places that do the same thing.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: updated list rewrite
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: add build utilities in default install