| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера