Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 12FA8292E97 for ; Sun, 22 Apr 2012 13:52:08 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SM016-0001UR-6Y for pgsql-bugs@postgresql.org; Sun, 22 Apr 2012 16:52:07 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Sun, 22 Apr 2012 11:51:51 -0500 Message-Id: <4F93F0D4020000250004720C@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Sun, 22 Apr 2012 11:51:48 -0500 From: "Kevin Grittner" To: , Cc: Subject: Re: BUG #6605: wrong type cast from timestamp to timestamptz Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201204/124 X-Sequence-Number: 32875 > Tom Lane wrote: > eshkinkot@gmail.com writes: >> set timezone to 'W-SU'; select '2011-03-27 23:00:00'::timestamptz; >> SET >> timestamptz >> ------------------------ >> 2011-03-28 02:59:54+04 > > Bizarre. On my Fedora 16 box, I see a different misbehavior: > > regression=# set timezone to 'Europe/Moscow'; select '2011-03-27 > 23:00:00'::timestamptz; > SET > timestamptz > ------------------------ > 2011-03-28 00:29:40+04 > (1 row) Ubuntu 10.04 LTS Linux kevin-desktop 2.6.32-40-generic-pae #87-Ubuntu SMP Mon Mar 5 21:44:34 UTC 2012 i686 GNU/Linux PostgreSQL 9.2devel on i686-pc-linux-gnu, compiled by gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 32-bit test=# set timezone to 'Europe/Moscow'; select '2011-03-27 23:00:00'::timestamptz; SET timestamptz ------------------------ 2011-03-28 00:29:40+04 (1 row) -Kevin