Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id F07151337BF8 for ; Fri, 18 Mar 2011 05:22:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 37936-06 for ; Fri, 18 Mar 2011 08:22:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com [209.85.161.46]) by mail.postgresql.org (Postfix) with ESMTP id 3E1DD1337B97 for ; Fri, 18 Mar 2011 05:22:19 -0300 (ADT) Received: by fxm17 with SMTP id 17so3454212fxm.19 for ; Fri, 18 Mar 2011 01:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=GH7vqQaCLaSmBhHO8gDJpBd/GFegqLEeGAgwEWSBsic=; b=NbNtM3SR/WJaZ4i7rk3Tjgi5/vHvGpLQrt10IX0SJ/+Q0IlyX4QxLjT9eC8WkTarf6 JHZl116cuoEwHW5D9vtFYQo2WKP6n0BjsliLBhSwsjqpg98s3Cy+TJak8v67+Ycn61ex oWXV+wqmaqtCGe5qPc518zM2JfrXvgUV7v//M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=nZD1sgrenSW8UwsomvI/jsmMuKhLLR0oYm3aQtarnYZ0n218u0ECFxZBCnZMi58dVx ozEPOaIiMT0rL9UvAsYy+7C6RwEW0/yFBuBjJ1DRRU5SByqxvZbaKW9Tzjl2Bb7wm0Nk K9lPowrh2L7LT46WSgOEturSaym30cCBJqMks= Received: by 10.223.106.76 with SMTP id w12mr899186fao.104.1300436536893; Fri, 18 Mar 2011 01:22:16 -0700 (PDT) Received: from [192.168.2.10] ([188.114.42.220]) by mx.google.com with ESMTPS id p16sm1037195fax.45.2011.03.18.01.22.14 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2011 01:22:15 -0700 (PDT) Message-ID: <4D831633.4020504@gmail.com> Date: Fri, 18 Mar 2011 11:22:11 +0300 From: Yura Sokolov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15pre) Gecko/20110207 Shredder/3.1.9pre MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Setting timezone: is it bug or intended? Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.589 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201103/245 X-Sequence-Number: 29755 postgres=# set timezone='+03'; SET postgres=# select now(); now ------------------------------- 2011-03-18 11:20:29.696671+03 (1 row) postgres=# set timezone='+03:00'; SET postgres=# select now(); now ------------------------------ 2011-03-18 05:20:35.46008-03 (1 row) (checked with 8.4 and 9.0)