Re: DateStyle (was Re: Per-database/schema settings)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: DateStyle (was Re: Per-database/schema settings)
Дата
Msg-id 3965E3A1.4FBED6CA@alumni.caltech.edu
обсуждение исходный текст
Ответ на DateStyle (was Re: Per-database/schema settings)  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Karel Zak wrote:
> 
>  Small note, to_char() has good friend to_timestamp() and this second
> routine must allow interpret all output from to_char() to PG internal
> datetype.

Yes. The problem is if someone sets the template to

'bad date/time: "HH24"'

At that point, there are not enough fields defined to be able to recover
the original date/time value.
                     - Thomas


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

Предыдущее
От: eisentrp@csis.gvsu.edu
Дата:
Сообщение: Re: Memo on coding practices: strcmp() does not yield bool
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Per-database/schema settings