From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | mjfshark(at)gmail(dot)com |
Subject: | BUG #16923: Timestamptz always returns utc time when resultformat is in binary format. |
Date: | 2021-03-11 12:54:11 |
Message-ID: | 16923-02bede34869fc819@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 16923
Logged by: Mark Ford
Email address: mjfshark(at)gmail(dot)com
PostgreSQL version: 12.3
Operating system: Windows 10
Description:
Tested server version 12.3, client versions 10.13 (32bit and 64bit) and
13.2.(64bit)
Issue:
Using libpq.dll and requesting a result set in binary format. Timestamptz
results are returned in UTC timezone instead of the current session's
timezone setting. Note that in text format the timestamptz is returned
properly converted. Also note that Timetz results are converted correctly
regardless of the result set format (binary or text.)
Expected results:
The documentation seems to state that Timestamptz fields will be returned
converted to the currently set timezone session property and doesn't mention
the above behavior. This combined with timetz fields being converted
regardless of output format seems inconsistent.
Thank you.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2021-03-11 14:18:19 | Re: BUG #16923: Timestamptz always returns utc time when resultformat is in binary format. |
Previous Message | Alex | 2021-03-11 12:23:29 | Re: Invalid idle_in_transaction_session_timeout data type |