Re: timestamp with time zone

From: ptjm(at)interlog(dot)com (Patrick TJ McPhee)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: timestamp with time zone
Date: 2007-12-14 05:03:20
Message-ID: 13m43ko14k9sm05@corp.supernews.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <20071214(dot)001009(dot)67102034(dot)t-ishii(at)sraoss(dot)co(dot)jp>,
Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
% From: "Magnus Hagander" <magnus(at)hagander(dot)net>

[...]

% > > Can I get "+04" without knowing that I inserted the data using "+0400"
% > > time zone?

% > No. The closest you can get is to store the tz in a different column
% and use AT TIMEZONE (which accepts a column name as argument)

% Or use date + time with time zone.

This could cause problems if you want to insert a timestamp for a date
with different DST settings. It also seems a lot more cumbersome to do
it this way.

--

Patrick TJ McPhee
North York Canada
ptjm(at)interlog(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Schwarzer 2007-12-14 06:48:07 Re: UNION not working... why?
Previous Message Merlin Moncure 2007-12-14 04:54:01 Re: Need to find out which process is hitting hda