Re: pgsql: Buffering GiST index build algorithm.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Buffering GiST index build algorithm.
Дата
Msg-id 12115.1315514687@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Buffering GiST index build algorithm.  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgsql: Buffering GiST index build algorithm.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
>> Maybe we need to include math.h. And while we're about it, should the
>> result of round() be cast to an int, since that's what the function
>> returns?

> Or use rint(), which we certainly have.

Yeah, this broke the build on my old HPUX box too.  I committed a quick
fix using rint(), but on reflection I wonder if it shouldn't be ceil().

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: round() is not portable. Use rint().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 9.1.0.