Re: Top five challenges - Mailing list pgsql-advocacy

From sad@bestmx.ru
Subject Re: Top five challenges
Date
Msg-id Prayer.1.3.3.1103021435590.25961@km21038-04.keymachine.de
Whole thread Raw
In response to Re: Top five challenges  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Top five challenges
List pgsql-advocacy
On Mar 1 2011, Alvaro Herrera wrote:

>Excerpts from silly sad's message of mar mar 01 03:39:35 -0300 2011:
>
>> 3. To make TIMESTAMPTZ useful by introducing proper type cast
>> TIMESTAMPTZ to TIMESTAMP
>
>I think this is the AT TIME ZONE operator (works both ways).
>
>> 4. Introduce a pair of preferences (server_timezone, client_timezone)
>> instead of a single pref (timezone) (and use their values similar as
>> (client_encoding, server_encoding) are used)
>
>I think server_timezone is hardwired as GMT.  client_timezone is our
>current timezone setting.  I don't see the point in having
>server_timezone be configurable ... is there one?

GMT? let it be.
i only ask u to USE IT while casting ::TIMESTAMPTZ::TIMESTAMP
(instead of dropping TZ information)



pgsql-advocacy by date:

Previous
From: sad@bestmx.ru
Date:
Subject: Re: Top five challenges
Next
From: Alvaro Herrera
Date:
Subject: Re: Top five challenges