BUG #12989: pg_size_pretty with negative values

Поиск
Список
Период
Сортировка
От cbalmeida@gmail.com
Тема BUG #12989: pg_size_pretty with negative values
Дата
Msg-id 20150406173026.2550.39773@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #12989: pg_size_pretty with negative values  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12989
Logged by:          Christian Almeida
Email address:      cbalmeida@gmail.com
PostgreSQL version: 9.3.6
Operating system:   Ubuntu 14.04 LTS
Description:

The function "pg_size_pretty" is not formatting negative numbers.


Example:
select pg_size_pretty(+123456789::bigint),
pg_size_pretty(-123456789::bigint)

Output:
----------------------------
118 MB      -123456789 bytes

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #12963: WHERE constraints on (INNER) JOIN columns are not propagated to both tables
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #12989: pg_size_pretty with negative values