Re: [HACKERS] Anyone using "POSIX" time zone offset capability?

Поиск
Список
Период
Сортировка
От Sander Steffann
Тема Re: [HACKERS] Anyone using "POSIX" time zone offset capability?
Дата
Msg-id 00f601c6f1f0$20859bf0$64c8a8c0@balefirehome
обсуждение исходный текст
Ответ на Re: Anyone using "POSIX" time zone offset capability?  ("Brandon Aiken" <BAiken@winemantech.com>)
Список pgsql-general
Hi,

> "Sander Steffann" <s.steffann@computel.nl> writes:
>>> What the datetime.c code is doing is trying to find the zoneabbrev
>>> in a built-in timezone table, and then adding the two together.
>>> This is simply wacko.
>
>> I think that if anyone has ever tried to use this notation they would
>> have
>> noticed this misinterpretation of the specs.
>
> Well, it'd work without surprise for the case of "GMT+-n", which is
> undoubtedly the most common case ...

Hmmmm. I hadn't thought of that, but then: with the changes you proposed
they would still get what they expect. Even though that notation would not
conform to the POSIX docs.

Still seems like a good idea :)
Sander



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

Предыдущее
От: Lewis Cunningham
Дата:
Сообщение: Re: [SQL]Any documatation about porting from Oracle to PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aother tablespace permission issue (was Re: Permission problem ...)