Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wNaw2-000vW3-2t for pgsql-docs@arkaria.postgresql.org; Thu, 14 May 2026 18:37:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wNav1-00Eh4C-1o for pgsql-docs@arkaria.postgresql.org; Thu, 14 May 2026 18:36:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wNav1-00Eh44-0c for pgsql-docs@lists.postgresql.org; Thu, 14 May 2026 18:36:23 +0000 Received: from mail-yx1-xb12d.google.com ([2607:f8b0:4864:20::b12d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wNauy-00000000clz-36XM for pgsql-docs@lists.postgresql.org; Thu, 14 May 2026 18:36:22 +0000 Received: by mail-yx1-xb12d.google.com with SMTP id 956f58d0204a3-65c09c1d000so226170d50.1 for ; Thu, 14 May 2026 11:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778783778; cv=none; d=google.com; s=arc-20240605; b=Jie80nzRd0wxAMecNJd92zsdeqAtzZRnMgEO54HTA8uzeYteJ2DBQQ8//4DsXApo6V ScIfr3vW4F0mK75VDk1rqUAHhNolvr6FVjbE5wpiZGK/bS1enmHHa7MVeu8BiTtLSiWY lNiM7KncoAUTTN9utXcmPDwfD/jRHhX+zho+hEFdxMkhhKN0LpLKgjmWD3y89P56uh0a 6Iy7MHMZbKjXfqVFOvhGc6gpH4ss1/7nEAaCnOQnclj7em+YI9SiEABE9s/qTFdDDSBz Lw7dhqKzxU3e/ohpeEel26jjxe07VxoWSINkAX08ItRPuJAMe7kdHK/Uc1px9kFtR2Ep xE5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KFpl5UZQm5uM7TOOxjDjid21BbKN2ofFEC+4tIBTaEs=; fh=Iynz3O23aNS1hRZRa6RNR6rzPSD+/1Jm8wbvFZ2643w=; b=la0ll8kWLzDo5Ylb9KsKyVmVUvUDnjZzyK7pD2WqdzvovRz+holx8HflIYMN6H6c30 NzXUozKDeG0XsvKn8+MHDBOmQCtDGYeDpoVeqUPwlC6rTzcrvOuRrTRig1YdFbzHAI+V SfPIfXg9FtBGcbH3YXivXT8lWapzEY4RBM8KCoJS+GljoArRVp+YFYuW0Q0RMyDT94h1 sGEu1Tu27Qx3G+B5I3lG7g9vjZ9KzyuBAD5+bIlJiigOl0ydb5Hogs6m4tFrwvb0Ss3P 8sOgidFj92vhW8S91jZ72T/bVw9TTdu62W/o3Vg49md4RqTAHb7LQ9CRE9QTK28KKnGs 0csg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xzilla-net.20251104.gappssmtp.com; s=20251104; t=1778783778; x=1779388578; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KFpl5UZQm5uM7TOOxjDjid21BbKN2ofFEC+4tIBTaEs=; b=r0jSd0lOsORxMel8fpSxlgl+p1W2uMWHgzuJ76HyKIS78+L3SZ2zRWMp+loWbwvgT9 egWyut1UUfcfzaCsv7/oz6nOceToOdO7gJyo06J1rrRgG4eXaXBxuowsAP1c72wrAdIZ IePGjJfaYtOdzx/tmtwoelvt3crdZWR65DZP3wAUUqD7cnzeFqtwRM9AQHDqqq+j6iQO 7QwCNMrMv/c/ggZyrwYn/TaC44RlhqLwBAB6Hd/KjS7Eo0Qeh0CzKPjwttETIHT/xfuj K4+Cjb4GUaPwOM69nTMtdXZq0V4DD5G5VtL9d6HS/clUIHQgxjnrGX/pSrUP8Woa3WaJ B4Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778783778; x=1779388578; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=KFpl5UZQm5uM7TOOxjDjid21BbKN2ofFEC+4tIBTaEs=; b=kk1XE1lf2CQPxZXDiPB+FXP15frCBjaLGOhohlqT7h5BRSDhgUbgOXHACtrgbXW26z jSKlGFMhjaawB16pQj8GivDAg4M59qnZTPlVUbxQQLvIm/0VtYY0uprpf3TkJw3lpQQW SrQl3kilSwCmyFTFeHmJnf3sWpcdy8Jn5X5fvut5UN6EeIl/VVfJWOVHMrUdbqBfwYYN Jp7DPCecszfEZejgN/3pd17CvODMzVT9P+lSytXMGJ+tK0ZbxXrxYlbOz/A1/3Mmkw5/ V8aO0AHkNHzj27CVYvUnIs74N9IM9kzMgrpbE9t/VbgjqKdB5TPgD7EGvIrg7gb+oPk+ ZkeA== X-Forwarded-Encrypted: i=1; AFNElJ+mI5JwfJ7qoemLItq8oMaVrc+aRt86Rk8JpVgWaBG4B3ik9oENCCDmu8ivd41sgH0CvXAG8yp3xAZj@lists.postgresql.org X-Gm-Message-State: AOJu0YxHtAHMvAjf0Phs7lUv3xxeaZggE8ZFHsCO+KWSThxgTGUiJotu XYi4A0YxYaLTLYlVlnUlylAinHgNXflax5N8Rpqx+BCBt1Bv2M2VMgBmz4+4jXt3OpHHirRbYcC 3oNawrLk6VHu26m2p3/lRBTniPSDhpuuHszdcnQDGvg== X-Gm-Gg: Acq92OE+vYEPRKVJk7HE86dVBGV0wPEgsqSAHvwBY0afhEXOzd1fwJ7BmkkLEOi3lvf bDbK7JfbeWDe+vQz0TXKOn1rODb0Uh7xVNCk/xJOy/YzjIdijy+C6FQ9WCqSVXcz5F97h1DGcuz 8wqUp0kJS9NFOVJB6ByD9NThkA9pMLUdZSAxpQKG6gNrSuQ0As3aGfWIsrRKBncJgnGsxpnXRgQ bTSOZrH5OMVMr5HsFaNZHoxxCEeL0IDti0fsmy0y1IvNSg3hEk/rluItMP1tZb5YJdlkWGGwM3Q RwN7R3PzygLQCKcrVw== X-Received: by 2002:a05:690c:c50b:b0:7c1:e30e:4536 with SMTP id 00721157ae682-7c7e7d27143mr43254637b3.20.1778783776602; Thu, 14 May 2026 11:36:16 -0700 (PDT) MIME-Version: 1.0 References: <177685804902.403059.7237129094698721575@wrigleys.postgresql.org> In-Reply-To: From: Robert Treat Date: Thu, 14 May 2026 14:36:05 -0400 X-Gm-Features: AVHnY4JcFRR0OPhobxNQbu5Rmu1L02FzI7IrZkwUymYCNBNT9mW4pBGOg2TnifE Message-ID: Subject: Re: Please clarify that Timestamp with Timezone doesn't preserve the timezone. To: Dave Cramer Cc: Bruce Momjian , Kirk Parker , Richard Neill , github@richardneill.org, pgsql-docs@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, May 14, 2026 at 8:17=E2=80=AFAM Dave Cramer wrote: > On Thu, 14 May 2026 at 08:05, Bruce Momjian wrote: >> On Thu, May 14, 2026 at 07:57:21AM -0400, Robert Treat wrote: >> > > I see your point. I went with adding the wording "no time zone >> > > adjustment" and "with time zone adjustment" in the table. Patch >> > > attached. You can see the output at: >> > >> > The quibble I have with the term "time zone adjustment" is that it >> > implies there will be some adjustment, but while you can change your >> > timezone preferences to display a timestamptz value in whatever time >> > zone you want, the value itself is never adjusted; it is stored as a >> > universal moment in time that doesn't change, regardless of the window >> > dressing around it. For this reason I have taken to describing that >> > difference between the two as that timestamptz stores the date and >> > time with timezone awareness, and timestamp is date and time with no >> > timezone awareness. Perhaps that might work better here as well? >> >> I used "adjustment" because the value is adjusted on input, and adjusted >> on output. I would say the value is not "aware" of the time zone >> because once it is internally stored as UTC it is no longer aware of the >> original time zone. >> > Adjusted seems like the wrong word. I think the correct word is converted= . > I guess this depends on how you fundamentally think about timestamps and/or time zones. When you select now(), whether it displays in -04, +04, or UTC, the time itself is the same time; the time is not adjusted nor converted, any more than xml or html data changes when you apply different xslt or css towards it, we just store in one particular manifestation of itself. The question is, do we store it in a way where the storage format is cognizant (aka "aware") of the concept of time zones, like timestamptz, in which case, you can modify it's display and do timezone related maths in ways that the timezone without time zone storage format cannot do, because it has no idea of what a time zone is (ie. it is not aware of time zones as a concept). Robert Treat https://xzilla.net