Variable formatting of datetime with DateStyle=ISO

Поиск
Список
Период
Сортировка
От Nissim
Тема Variable formatting of datetime with DateStyle=ISO
Дата
Msg-id 39394B33.630F76EE@nksystems.com
обсуждение исходный текст
Ответы Re: Variable formatting of datetime with DateStyle=ISO  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I just posted a message to the interfaces list about how this is causing
problems in th JDBC driver, and I'm wondering if there's a reason why
the EncodeDateTime function creates a different format string depending
on whether the date has milliseconds.  Would it break anything if it
always returned:

yyyy-mm-dd hh:mm:ss.SSzzz

even if the SS will be zero, and even if the time will is null: 
"00:00:00.00" (midnight)?

Also, why are there only two digits of precision on the milliseconds? 
shouldn't there be three?
-Nissim


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: New warning code for missing FROM relations
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [GENERAL] PostgreSQL v7.0.1 Released