From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: davecramer@postgres.rocks
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Incorrect/confusing information about timetz
Date: Thu, 07 Sep 2023 16:41:48 -0400
Message-ID: <1757505.1694119308@sss.pgh.pa.us> (raw)
In-Reply-To: <ZPozoUwxa80aarQp@momjian.us>
References: <168451942371.714.9173574930845904336@wrigleys.postgresql.org>
<ZPozoUwxa80aarQp@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> Uh, yes to the storage part, no to the output part. ;-) Postgres does
> store the timetz time zone offset, but it doesn't adust it once it is
> stored so doesn't adjust for the session time zone:
Right, it just stores a numeric UTC offset.
> Do we want to document this?
Section 8.5.1.2. Times already says "The appropriate time zone offset
is recorded in the time with time zone value." Maybe that could be
made a little more precise, say "The resolved numeric offset from UTC
is recorded in the time with time zone value."
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, davecramer@postgres.rocks, pgsql-docs@lists.postgresql.org
Subject: Re: Incorrect/confusing information about timetz
In-Reply-To: <1757505.1694119308@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox