Re: New to_timestamp implementation is pretty strict

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: New to_timestamp implementation is pretty strict
Дата
Msg-id 493407CB.5090403@dunslane.net
обсуждение исходный текст
Ответ на Re: New to_timestamp implementation is pretty strict  ("Greg Stark" <stark@enterprisedb.com>)
Список pgsql-hackers

Greg Stark wrote:
> How would you parse an input format of just 'SS' ? is there something
> ambiguous about '3' ? I don't see anything "bad" about using %d to
> output an integer number of seconds.
>
>   

The docs say that SS corresponds to "second (00-59)", so clearly it 
should expect a two digit zero padded number.

What's so hard about using "%0.2d" ?

cheers

andrew


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

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: New to_timestamp implementation is pretty strict
Следующее
От: "Robert Haas"
Дата:
Сообщение: Re: New to_timestamp implementation is pretty strict