Re: Incorrect/confusing information about timetz

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: davecramer(at)postgres(dot)rocks, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Incorrect/confusing information about timetz
Date: 2023-09-07 20:41:48
Message-ID: 1757505.1694119308@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2023-09-07 21:00:59 Re: Incorrect/confusing information about timetz
Previous Message Bruce Momjian 2023-09-07 20:33:37 Re: Incorrect/confusing information about timetz