Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCakY-0003o4-0a for pgsql-general@arkaria.postgresql.org; Tue, 24 Sep 2019 02:40:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCakW-0000Fw-Rk for pgsql-general@arkaria.postgresql.org; Tue, 24 Sep 2019 02:40:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCakW-0000Eq-FN for pgsql-general@lists.postgresql.org; Tue, 24 Sep 2019 02:40:20 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iCakT-0000ZX-Ej for pgsql-general@lists.postgresql.org; Tue, 24 Sep 2019 02:40:19 +0000 Received: from [192.168.127.1] (port=46251 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.92.2 (FreeBSD)) (envelope-from ) id 1iCakP-0002iF-43; Tue, 24 Sep 2019 02:40:13 +0000 Received: from localhost ([127.0.0.1]:22315 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.92.1 (FreeBSD)) (envelope-from ) id 1iCakO-0006rt-VJ; Tue, 24 Sep 2019 02:40:13 +0000 From: Andrew Gierth To: Adrian Klaver Cc: Paul McGarry , pgsql-general@lists.postgresql.org Subject: Re: How to get timezone offset in timestamp with time zone AT TIME ZONE output. In-Reply-To: (Adrian Klaver's message of "Mon, 23 Sep 2019 07:36:38 -0700") Message-ID: <87impio1tf.fsf@news-spur.riddles.org.uk> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) Date: Tue, 24 Sep 2019 03:40:12 +0100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Adrian" == Adrian Klaver writes: Adrian> This has come up before and the general suggestion has been to Adrian> have a column for a naive(timestamp w/o tz) timestamp and a Adrian> column for the timezone. No, that's usually (not always) backwards, and in any event wouldn't solve this particular issue. -- Andrew (irc:RhodiumToad)