From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | elein(at)nextbus(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: 7.2 Beta timezone woes |
Date: | 2002-01-12 03:38:54 |
Message-ID: | 4424.1010806734@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Elein <elein(at)nextbus(dot)com> writes:
> The way it is puts the burden entirely on the client to figure out
> what timezone the data is for and force the appropriate
> timezone( 'MST', value) formatting to it for arithmetic and display.
Huh?
It seems like you are entirely missing the point. The idea is that
the client storing a time value presents it in his local timezone;
the internal storage is an *absolute* time (independent of any timezone
... the fact that the internal representation is GMT is merely a remnant
of 18th-century British imperialism); and any client who asks for the
value gets it presented in *his* local timezone.
If you think this makes the clients' job harder rather than easier,
then you're either thinking about it all wrong or you have a very
peculiar set of requirements. Perhaps you could explain why the above
mind-set doesn't work for you.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Chittenden | 2002-01-12 03:46:52 | "IS NOT NULL" != "NOT NULL" |
Previous Message | Elein | 2002-01-12 01:50:34 | 7.2 Beta timezone woes |