Re: AT TIME ZONE - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: AT TIME ZONE
Date
Msg-id 20040824193552.GC5682@dcc.uchile.cl
Whole thread Raw
In response to Re: AT TIME ZONE  (Shahbaz Javeed <sjaveed@gmail.com>)
Responses Re: AT TIME ZONE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Aug 24, 2004 at 03:16:30PM -0400, Shahbaz Javeed wrote:

People,

> I wonder whether this TODO item also covers cases such as inserting
> into a table where one field is time in the local timezone and the
> other is time in GMT.  Not sure if such a thing is desirable or even
> possible (in the SQL standard).  The syntax I'm imagining feels pretty
> awkward.

I wonder instead if it will be possible to store a timestamp without
timezone in one field, and a timezone in another field.  So I can get
back a timestamp at the second-field timezone.

I know this works for abbreviations, but this doesn't help me solve the
problem at DST boundaries (abbreviations change at that point).

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The ability to monopolize a planet is insignificant
next to the power of the source"



pgsql-hackers by date:

Previous
From: Shahbaz Javeed
Date:
Subject: Re: AT TIME ZONE
Next
From: Tom Lane
Date:
Subject: Re: AT TIME ZONE