Re: WIP: to_char, support for EEEE format

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: WIP: to_char, support for EEEE format
Дата
Msg-id 4A71C6E1.5090100@timbira.com
обсуждение исходный текст
Ответ на Re: WIP: to_char, support for EEEE format  (Brendan Jurd <direvus@gmail.com>)
Ответы Re: WIP: to_char, support for EEEE format  (Brendan Jurd <direvus@gmail.com>)
Список pgsql-hackers
Brendan Jurd escreveu:
> Hmm.  For what it's worth, I think Pavel makes a good point about the
> number of exponent digits -- a large chunk of the use case for numeric
> formatting would be fixed-width reporting.
> 
But it doesn't cover all numbers in the interval. And in this case, all
numbers can be easily represented.

> Limiting to two exponent digits also has the nice property that the
> output always matches the length of the format pattern:
> 
> 9.99EEEE
> 1.23E+02
> 
I don't think neglecting to represent a valid number is a "nice property".
What does the length of format pattern have to do with output format?


--  Euler Taveira de Oliveira http://www.timbira.com/


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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: WIP: to_char, support for EEEE format
Следующее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Re: WIP: to_char, support for EEEE format