Re: WIP: to_char, support for EEEE format

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: WIP: to_char, support for EEEE format
Дата
Msg-id 37ed240d0908102346y5711345s42575bd146622986@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: to_char, support for EEEE format  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
2009/8/11 Pavel Stehule <pavel.stehule@gmail.com>:
> It's nice. I am playing with it, and now I found some potential issue.
> The parser is maybe too tolerant:
>
> postgres=# select to_char(3.14323,'9.9(aaaaaEEEE');
>  to_char
> ----------
>  3.1e+00
> (1 row)
>

I guess we *could* add code to throw an error where the 9's aren't
placed immediately before the E's in the format pattern, but to be
honest I can't work up any enthusiasm about it.

Cheers,
BJ


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Hot standby and synchronous replication status
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Filtering dictionaries support and unaccent dictionary