Comment on timezone and interval types

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-general(at)postgresql(dot)org
Subject: Comment on timezone and interval types
Date: 2004-10-23 23:49:15
Message-ID: 20041023234915.GA12289@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Recently there has been some discussion about attaching a timezone to
a timestamp and some other discussion about including a 'day' part
in the interval type. These two features impact each other, since
if you add a 'day' to a timestamp the result can depend on what timezone
the timestamp is supposed to be in. It probably makes more sense to use
a timezone associated with the timestamp than say the timezone GUC or the
fixed timezone UTC.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-10-23 23:52:50 Re: '1 year' = '360 days' ????
Previous Message Tom Lane 2004-10-23 23:42:58 Re: field incrementing in a PL/pgSQL trigger