Re: [HACKERS] Anyone using "POSIX" time zone offset capability? - Mailing list pgsql-general

From Sander Steffann
Subject Re: [HACKERS] Anyone using "POSIX" time zone offset capability?
Date
Msg-id 00f601c6f1f0$20859bf0$64c8a8c0@balefirehome
Whole thread Raw
In response to Re: Anyone using "POSIX" time zone offset capability?  ("Brandon Aiken" <BAiken@winemantech.com>)
List 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 by date:

Previous
From: Lewis Cunningham
Date:
Subject: Re: [SQL]Any documatation about porting from Oracle to PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: Aother tablespace permission issue (was Re: Permission problem ...)