Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSm4h-0003VU-Op for pgsql-general@arkaria.postgresql.org; Tue, 21 Sep 2021 20:09:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSm4f-0005wR-6u for pgsql-general@arkaria.postgresql.org; Tue, 21 Sep 2021 20:09:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSm4e-0005wI-UK for pgsql-general@lists.postgresql.org; Tue, 21 Sep 2021 20:09:04 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSm4Y-0008TT-5u for pgsql-general@lists.postgresql.org; Tue, 21 Sep 2021 20:09:04 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 8308C5343; Tue, 21 Sep 2021 22:08:54 +0200 (CEST) Date: Tue, 21 Sep 2021 22:08:54 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Timestamp with vs without time zone. Message-ID: Mail-Followup-To: pgsql-general@lists.postgresql.org References: <4a195869-f9ed-c39b-4070-e882b546d7fd@aklaver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="X8N5LQKhhLk/wMbr" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --X8N5LQKhhLk/wMbr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-09-21 12:58:13 -0700, David G. Johnston wrote: > On Tuesday, September 21, 2021, Peter J. Holzer wrote: > These two values are completely indistinguishable. That's good for a > timestamp (they are the same time after all). But they are not a > "timestamp with time zone". The time zone is not part of the value but > of the environment. >=20 >=20 > No, it=E2=80=99s inherent to the data type itself.=C2=A0 The data type ha= s an implied time > zone of UTC.=C2=A0 That is a reasonable definition of =E2=80=9Cwith=E2=80= =9D in my book. If you can store only a single value that's 0 bits of information (which is exactly the storage used). But I'm going to stop arguing here. I'm obviously not able to convince you and you aren't going to convince me either. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --X8N5LQKhhLk/wMbr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmFKO9IACgkQ8g5IURL+ KF21bRAAsprD1+PyH97udClfaHIF3Nog1EKon4bbEW6EmRUilINK927YiT+C9imf HsqgfDGH6BDHu+zg16iX2+mKnnnQopSyKnyok8ipmbV0mJSnWymFYQafzR5lBhRT V/x1dHgcZICpnbKlHjo1ttMSV3BwR+ZmZ1L2i5CJ/yJobwdW5RGJmBwZn/xORZYd f4GM41d6poKB1ZTpaav+6Ygk5xZCr5QVWLF1wB0+I3fE8IpkWGc4PG1WNVMuJFrR 1gzrtmDXeIAA4e3yXpqUZrmZIBAo9aih31qSAzbsJ/+aQs+yD5NR8ksqyKSAFlSj +p/03K1+ojwYxMPrrsnf5mE9DM81w/VrgaIaOxR5JHFa6Jn15qW30kgb/3TNyzdy vNqHtGDXVisfc7AmSxgdBy1wlcCz+shB/vmEkGeWFyntYL8wOkc5aQX9gIsrlSXX d+zFXP4x+SVl2K9XoC0YeFj5s/sjljSk04VQnxSCpcLfFgqIrJ7CXPUaSan2oy98 f5Kcg4o2OoQX0sSN6SjqOLoYfvSZ+fACG7P8TiTJnGMYsP94KmMngTSLtpksuIZV YE+ntzRfb5Sz41+eIo5Q8dRIVNvRuIbgC7JjuKpexlbOzgZdBcA7fY/7BAKEnisi WnA5vbLI8eYVbHwWiEHdf48iaHg4mENgT5P8Sx/UZQMOBw0+GTg= =X7VN -----END PGP SIGNATURE----- --X8N5LQKhhLk/wMbr--