Re: BUG #5993: pg_size_pretty overflow

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5993: pg_size_pretty overflow
Дата
Msg-id 20005.1303762997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5993: pg_size_pretty overflow  ("nicola75ss" <nicola75ss@gmail.com>)
Список pgsql-bugs
"nicola75ss" <nicola75ss@gmail.com> writes:
> Good morning. I'm totally newbie with postgresql. I was studying
> pg_size_pretty() and I've discovered that if I pass it a great value it
> returns negative value.

> This is an example

> select pg_size_pretty(9223372000000000000); -- "-8388607 TB"

Yeah, that's a bug.  Fixed, thanks for the report!

            regards, tom lane

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