Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG #4100: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 3691 of 4088
Post > Topic >>

Re: BUG #4100: GMT offsets are wrong

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 8, 2008 at 10:20 AM

Magnus Hagander <magnus@[EMAIL PROTECTED]
> writes:
> Peter Coxhead wrote:
>> I find the results to selecting the time in a GMT offset are
>> backwards, so

> I think you're being bitten by the stupid rules of POSIX timezones.
> They declare + as being west of GMT, and - as east. Which is not what
> you'd expect, but it's what the standard says.

Well, it's just as sane as the other way.  The problem is that POSIX
specified one sign convention and ISO-8601 chose the other one ...
so we're kinda stuck here.

The general rule is that PG follows the ISO convention for everything
*except* POSIX-style timezone names, where obviously we must do what
POSIX said.  I'm not entirely certain if we were consistent about this
as far back as 7.4, though.  Our timezone code got pretty heavily
revamped in 8.0.

			regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 3 Posts in Topic:
BUG #4100: GMT offsets are wrong
pdcoxhead@[EMAIL PROTECTE  2008-04-08 02:30:36 
Re: BUG #4100: GMT offsets are wrong
magnus@[EMAIL PROTECTED]   2008-04-08 10:17:21 
Re: BUG #4100: GMT offsets are wrong
tgl@[EMAIL PROTECTED] (T  2008-04-08 10:20:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 6:33:57 CDT 2008.