pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Yura Sokolov <funny.falcon@gmail.com>
To: Susanne Ebrecht <susanne@2ndQuadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Setting timezone: is it bug or intended?
Date: Wed, 23 Mar 2011 01:52:00 +0300
Message-ID: <4D892810.5040001@gmail.com> (raw)
In-Reply-To: <4D8749B5.20407@2ndQuadrant.com>
References: <4D831633.4020504@gmail.com>
<4D8749B5.20407@2ndQuadrant.com>
21.03.2011 15:51, Susanne Ebrecht пишет:
> Hello Yora Sokolov,
>
> 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
>
>
My question were about sign of timezone:
postgres=# set timezone='+03'; -- positive
postgres=# select now();
2011-03-18 11:20:29.696671+03 -- positive
postgres=# set timezone='+03:00'; -- positive
2011-03-18 05:20:35.46008-03 -- negative
Is it intended?
Yura Sokolov
view thread (8+ messages) latest in thread
Message-ID: <4D892810.5040001@gmail.com> Permalink: ../4D892810.5040001@gmail.com/ Also on: postgresql.org/message-id/4D892810.5040001@gmail.com ·
reply
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: funny.falcon@gmail.com, susanne@2ndQuadrant.com Subject: Re: Setting timezone: is it bug or intended? In-Reply-To: <4D892810.5040001@gmail.com> References: <4D831633.4020504@gmail.com> <4D8749B5.20407@2ndQuadrant.com> <4D892810.5040001@gmail.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