Re: Error in date_part epoch docs. - Mailing list pgsql-docs

From Thomas Lockhart
Subject Re: Error in date_part epoch docs.
Date
Msg-id 3BB083DB.C79A97C@fourpalms.org
Whole thread Raw
In response to Re: Error in date_part epoch docs.  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-docs
> Oooh.  Now that's an interesting point!  That's going to play merry havoc
> with our code.  Is there a way of GMT'ing everything?

Not sure what you mean. All timestamps are stored in GMT, and are
converted to your local time zone when sent to your client. You can set
your server to be using GMT, or you can set the time zone from your
client, or you can use it as intended ;)

The next release (7.2) will have two timestamp types, the one you have
now and one without time zones of any kind. But I'd recommend
understanding and using time zones in your application to avoid
restrictions and missing functionality later on.

Anyway, why would having time zones cause trouble for your code?

                          - Thomas

pgsql-docs by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Error in date_part epoch docs.
Next
From: Bruce Momjian
Date:
Subject: Re: FYI