Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXbnh-0004tu-Km for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Jun 2018 00:25:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fXbnf-0005FM-Si for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Jun 2018 00:25:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXbnf-0005FF-JR for pgsql-bugs@lists.postgresql.org; Tue, 26 Jun 2018 00:25:39 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fXbnc-000613-P6 for pgsql-bugs@lists.postgresql.org; Tue, 26 Jun 2018 00:25:38 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1585A21DB7; Mon, 25 Jun 2018 20:25:36 -0400 (EDT) Received: from web4 ([10.202.2.214]) by compute1.internal (MEProxy); Mon, 25 Jun 2018 20:25:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Vg3S8m Vxv2FLgyfi4/KxK69XyM2ha2+jggPtKPW4Y6E=; b=wZ+B+9OY9O3taowgDrYICN t2X/yVFBkxT/DVRxHWl3xWCF6YMEAYmO7FwqtUYDatTGXjlcnTfmOJyvLdgCaFDS JWHIXkD7gjfiRPgzsJKMiwbC1QZJ4d/id6aqmwBntvLGBUwVLiV612LqDLpVj2v7 /pIKcwORWsbvY/h1YOe5aBnOBXFRs+qlexie56WZB/mBxAQ5Che8h9G+gekxEVnm sdwNdjYfs3hi05hZYspJFMGZ/BU04a2dW7Ghfdu7muRegt+7IGR9vnhKX6pnwuOM WoYKv4JZx2lLoOoUxh9TPCj/dgnJeCIz4yJuwXzRmfI1Jg1Fpk4d0HRYQzhaG4cw == X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id D32DABA4CF; Mon, 25 Jun 2018 20:25:35 -0400 (EDT) Message-Id: <1529972735.44579.1420252720.11BFA61D@webmail.messagingengine.com> From: Gary Bernhardt To: "David G. Johnston" Cc: pgsql-bugs@lists.postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-0d8ea36c Date: Mon, 25 Jun 2018 17:25:35 -0700 Subject: Re: Converting to UTC multiple times converts back to local time zone References: <1529970473.36096.1420218376.3C13DF11@webmail.messagingengine.com> In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Jun 25, 2018, at 5:20 PM, David G. Johnston wrote: > I'll agree that this was a surprising finding for me too, but in the overall scheme of how PostgreSQL works, and other features it provides (e.g., TimeZone GUC and to_char()) it fits. Thanks, David. I find this behavior quite off-putting, but I'm happy to take your word that it's intended and consistent with other features.