Re: Timezone database changes - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Timezone database changes
Date
Msg-id 20071009153733.GB8062@svana.org
Whole thread Raw
In response to Re: Timezone database changes  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Tue, Oct 09, 2007 at 05:04:39PM +0200, Peter Eisentraut wrote:
> We are not considering an interval scheduling system, we are considering a
> database system.  Such a system should have the basic property that if you
> store A, it will read out as A.  The money type is similarly buggy: if you
> change the locale, the semantic value of the data changes.  With money type,
> the problem is obvious and easy to recognize.  With the timestamp with time
> zone type, however, the problem is much more subtle and will likely go
> unnoticed by many who will then be unpunctual for their appointments.

For both money and timestamps the taggedtypes module provides exactly
what you want. It stores the timezone/currency as entered and displays
that when output. Sometimes that's what you want, sometimes it's not.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Including Snapshot Info with Indexes
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Including Snapshot Info with Indexes