Re: 7.2 Beta timezone woes - Mailing list pgsql-general

From Tom Lane
Subject Re: 7.2 Beta timezone woes
Date
Msg-id 4424.1010806734@sss.pgh.pa.us
Whole thread Raw
In response to 7.2 Beta timezone woes  (Elein <elein@nextbus.com>)
List pgsql-general
Elein <elein@nextbus.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

pgsql-general by date:

Previous
From: Elein
Date:
Subject: 7.2 Beta timezone woes
Next
From: "Andy Samuel"
Date:
Subject: again, LIKE operator