Re: Fix pgstatindex using for large indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix pgstatindex using for large indexes
Дата
Msg-id 17226.1203987082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix pgstatindex using for large indexes  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: Fix pgstatindex using for large indexes  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-patches
"Florian G. Pflug" <fgp@phlo.org> writes:
> Maybe we should just bite the bullet, and implement int64 emulation
> for platforms that don't provide one?

Why?  Workarounds such as "use double where needed" have served us
perfectly fine so far, with far less effort and notational ugliness
than this would involve.

There will come a time where either there's a really good reason to rely
on int64, or we feel that it's moot because any platform without int64
is certainly dead anyway.  I'm not sure how far off that time is, but
it's probably some fairly small number of years.  My position is simply
that pgstattuple does not present a reason to make that decision today,
especially not when making it rely on int64 is at variance with the
coding method already in use in related parts of the core backend.

            regards, tom lane

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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Fix pgstatindex using for large indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SRF memory leaks