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 1mSjkP-00069i-AQ for pgsql-general@arkaria.postgresql.org; Tue, 21 Sep 2021 17:40:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSjkO-0003Fv-8N for pgsql-general@arkaria.postgresql.org; Tue, 21 Sep 2021 17:40:00 +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 1mSjkN-0003Fn-Ui for pgsql-general@lists.postgresql.org; Tue, 21 Sep 2021 17:39:59 +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 1mSjkJ-0007G2-4M for pgsql-general@lists.postgresql.org; Tue, 21 Sep 2021 17:39:58 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id EA3895343; Tue, 21 Sep 2021 19:39:53 +0200 (CEST) Date: Tue, 21 Sep 2021 19:39:53 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Re: Timestamp with vs without time zone. Message-ID: Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gxSXC8I9ZmuBAq8r" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --gxSXC8I9ZmuBAq8r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-09-21 13:34:21 -0400, Dave Cramer wrote: > On Tue, 21 Sept 2021 at 13:20, Peter J. Holzer wrote: > On 2021-09-21 20:50:44 +1200, Tim Uckun wrote: > > It's just that the phrase "timestamp with time zone" would seem to > > indicate the time zone is stored somewhere in there. >=20 > I absolutely agree. Calling a type which doesn't include a timezone > "timestamp with timezone" is - how do I put this? - more than just > weird. "timestamp without timezone" should be called "local timestamp > with unspecified timezone" and "timestamp with timezone" should be > called "global timestamp without timezone". However, those aren't SQL > names. >=20 >=20 >=20 > I would say this is a perspective thing. It's a timestamp with a time > zone from the client's perspective. I disagree. When I read back the value the original timezone is lost. So it clearly DOESN'T store the timestamp WITH the timezone. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --gxSXC8I9ZmuBAq8r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmFKGNwACgkQ8g5IURL+ KF0+xg//e4Nku9NKNBgbj8vxfQwwsEOXwQmolZ1uJigmfx4phha1057QAyXX3MJx px2h0Q+Q8nuZ7fbU72z2YYN4Sz3N+AfopuCs4TdBOmfAd74Mj2KiqnXQKMryHq+b 4/zkK+zAPnTOdMK2NydivojY0POBmBqymiZihghsbCTaUdhhPixyRHQOMbJ05i7G eXfJ8HUrAR9AWJb0XkgK3vpOCfgzAnwBclQXkXFrJtiwYFbmkYKgaQIEgiT0WPNI IEvkaqSicQRZ2rCptlHZeY0yljDPfqwyelg7438//A/9N4pfEGuUdjHAqXY/af+8 xmOHoahPA53qPdvJdXSRyjs9XrjkvAwr/iVNYxE/Y/fsGfjUNkznnQutZECG2Txw r6lb8J2e1sw0+cunZgqgP79dKQLS3MgCGgrgCljH1hUCLqXQrqIrB+yMSsH17DW/ O3nwF8qTRtWZnr3LVlHuv21NO9E9YnosPFEI8B2LTCGdhoLVZmdEEX2JAg9L77Em /z7KZzFCnI+BHP6JTAaydUNn9D+Y1pbGCzxCSLArH+nXKPh18blSQW3ooFWeEZET SQuh9y1ysYbSuOoDRPwvepjC2rbfPtI6jN4CeXvMh2XwzvFZIrea/umt1pBHJGtj lzM2tmiUv0qUgQ1zEm6jQJAPpqPPQ7hN27cyF4JyU3KPa65oUe4= =L5bH -----END PGP SIGNATURE----- --gxSXC8I9ZmuBAq8r--