Re: Timezone database changes

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Trevor Talbot <quension(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, Magne Mæhre <Magne(dot)Mahre(at)sun(dot)com>
Subject: Re: Timezone database changes
Date: 2007-10-09 15:37:33
Message-ID: 20071009153733.GB8062@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2007-10-09 15:56:35 Re: Including Snapshot Info with Indexes
Previous Message Csaba Nagy 2007-10-09 15:36:19 Re: Including Snapshot Info with Indexes