Re: timestamptz parsing bug?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: timestamptz parsing bug?
Дата
Msg-id 4E5BEBFD.4090800@dunslane.net
обсуждение исходный текст
Ответ на Re: timestamptz parsing bug?  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: timestamptz parsing bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: timestamptz parsing bug?  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers

On 08/29/2011 03:35 PM, David E. Wheeler wrote:
> On Aug 29, 2011, at 12:30 PM, Tom Lane wrote:
>
>>> When it gets to the timezone "America/Chicago" at the end, this is
>>> handled in the DTK_DATE case, because of the "/". But because ptype is
>>> still set, it is expecting this to be an ISO time, so it errors out.
>> Do we actually *want* to support this?  The "T" is supposed to mean that
>> the string is strictly ISO-conformant, no?
> I didn't realize that appending a time zone was not conformant, but apparently it's not.
>
>    http://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators
>
> Only appending a "Z" or an offset seems to be legal. Interesting.
>
>

In that case we shouldn't be accepting an abbreviation either.

cheers

andrew


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: timestamptz parsing bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timestamptz parsing bug?