From: Susanne Ebrecht <susanne@2ndQuadrant.com>
To: Yura Sokolov <funny.falcon@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Setting timezone: is it bug or intended?
Date: Mon, 21 Mar 2011 13:51:01 +0100
Message-ID: <4D8749B5.20407@2ndQuadrant.com> (raw)
In-Reply-To: <4D831633.4020504@gmail.com>
References: <4D831633.4020504@gmail.com>
Hello Yora Sokolov,
On 18.03.2011 09:22, Yura Sokolov wrote:
>
> postgres=# set timezone='+03:00';
> SET
> postgres=# select now();
> now
> ------------------------------
> 2011-03-18 05:20:35.46008-03
> (1 row)
Maybe this is not a bug - just an inconsistence:
Look here (tested with 9.0):
=# set timezone='+3.5';
SET
=# select current_timestamp;
now
----------------------------------
2011-03-21 16:05:34.761112+03:30
(1 row)
In any case, this should get documented.
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: susanne@2ndQuadrant.com, funny.falcon@gmail.com
Subject: Re: Setting timezone: is it bug or intended?
In-Reply-To: <4D8749B5.20407@2ndQuadrant.com>
References: <4D831633.4020504@gmail.com> <4D8749B5.20407@2ndQuadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox