Re: Postgres and timezones

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Steve Rogerson <steve(dot)pg(at)yewtc(dot)demon(dot)co(dot)uk>
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres and timezones
Date: 2016-01-20 15:34:22
Message-ID: CAFj8pRDNk0SJK5e_tsAmJE6-rNTCRGuyxEEL3nJ7SQLtzhd2ng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

2016-01-20 16:24 GMT+01:00 Steve Rogerson <steve(dot)pg(at)yewtc(dot)demon(dot)co(dot)uk>:

> On 20/01/16 13:27, Pavel Stehule wrote:
> >
> >
> >
> > Postgres doesn't store original TZ. It does recalculation to local TZ.
> If you
> > need original TZ, you have to store it separetely.
> >
>
> I know and that's what I'm trying to deal with. Given I know the origin
> TZ -
> as in Europe/Lisbon I'm trying to determine the short name so I can store
> it.
>
> I guess I'll have to use something other than pg to do it.
>

probably it isn't possible - the transformation to local zone is
immediately after input string is parsed.

Regards

Pavel

> Steve
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Crawford 2016-01-20 15:38:40 Re: Postgres and timezones
Previous Message Steve Rogerson 2016-01-20 15:24:18 Re: Postgres and timezones