Re: AT TIME ZONE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AT TIME ZONE
Date
Msg-id 6897.1093376777@sss.pgh.pa.us
Whole thread Raw
In response to Re: AT TIME ZONE  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> 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.

"f1 AT TIME ZONE f2" would be exactly the way to do that.

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

Right, what we are talking about here is extending AT TIME ZONE to
accept full zic-database zone names.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: AT TIME ZONE
Next
From: "Marc G. Fournier"
Date:
Subject: Re: PG replic refs