Re: When it is better to use "timestamp without time zone"? - Mailing list pgsql-general

From Emi Lu
Subject Re: When it is better to use "timestamp without time zone"?
Date
Msg-id 43BBDB01.1020205@cs.concordia.ca
Whole thread Raw
In response to Re: When it is better to use "timestamp without time zone"?  (Michael Glaesemann <grzm@myrealbox.com>)
List pgsql-general
>> I need to know when it is better that we use "timestamp without  time
>> zone" ? And when it is better to use "timestamp with time zone"?
>
> In my opinion, if you want to store a timestamp, you should always
> use timestamp with time zone, as the UTC offset information is
> necessary to provide a unique timestamp value.
>
In postgreSQL, the default value for timestamp is "without time zone".
Mysql supports the format as "2005-01-01 12:01:01" but not "2005-01-01
12:01:01+05" at the moment.

Can I say when data is used among diff time zones, timestamp with time
zone is a MUST; otherwise, timestamp without time zone is used?

Emi

pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: Anyone doing a 8.1.0-ia64-RHEL4-as.rpm ?
Next
From: Andrew - Supernews
Date:
Subject: Re: When it is better to use "timestamp without time zone"?