Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id E053B32FEDF for ; Mon, 23 Apr 2012 02:21:40 -0300 (ADT) Received: from mail.erwied.eu ([85.214.80.157]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SMBiT-0006gR-0p for pgsql-bugs@postgresql.org; Mon, 23 Apr 2012 05:21:39 +0000 Received: from dslb-088-078-107-017.pools.arcor-ip.net ([88.78.107.17] helo=erwied.dyndns.org ident=nobody) by mail.erwied.eu with esmtpsa (Exim 4.76#1) id 1SMBhs-0007xM-LF ; Mon, 23 Apr 2012 07:21:00 +0200 Received: from joe-e781.dhcp.erwied.de ([172.17.10.157]) by erwied.dyndns.org with esmtpsa (Exim 4.77#2) id 1SMBhr-0000Gt-60 ; Mon, 23 Apr 2012 07:20:59 +0200 Date: Mon, 23 Apr 2012 07:20:26 +0200 From: Jochen Erwied Organization: Creative Chaos Computing X-Priority: 3 (Normal) Message-ID: <858616838.20120423072026@erwied.eu> To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6605: wrong type cast from timestamp to timestamptz In-Reply-To: <2165.1335030595@sss.pgh.pa.us> References: <2165.1335030595@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/125 X-Sequence-Number: 32876 Saturday, April 21, 2012, 7:49:55 PM you wrote: > So: some platform-specific misbehavior here. I have no time to poke at > it more now, though. Who else can reproduce this, on what platforms? One machine works, the other not: PostgreSQL 9.1.3 on i686-pc-linux-gnu, compiled by i686-pc-linux-gnu-gcc (Gentoo 4.5.3-r2 p1.0, pie-0.4.6) 4.5.3, 32-bit Result: 2011-03-27 23:00:00+04 PostgreSQL 9.1.3 on x86_64-pc-linux-gnu, compiled by x86_64-pc-linux-gnu-gcc (Gentoo 4.5.3-r2 p1.0, pie-0.4.6) 4.5.3, 64-bit Result: 2011-03-28 00:29:40+04 -- Jochen Erwied | home: jochen@erwied.eu +49-208-38800-18, FAX: -19 Sauerbruchstr. 17 | work: joe@mbs-software.de +49-2151-7294-24, FAX: -50 D-45470 Muelheim | mobile: jochen.erwied@vodafone.de +49-173-5404164