From: Uwe Schindler <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 97d910: More test and fix for issues discovered by #2476 (...
Date: Fri, 15 Apr 2022 06:04:22 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/09c2c3-97d910@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 97d910627183677c41b4b8e4579387a981409025
https://github.com/pgjdbc/pgjdbc/commit/97d910627183677c41b4b8e4579387a981409025
Author: Uwe Schindler <uwe@thetaphi.de>
Date: 2022-04-15 (Fri, 15 Apr 2022)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DateTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310Test.java
Log Message:
-----------
More test and fix for issues discovered by #2476 (#2488)
* This adds some tests for issues discovered by #2476
* Port over DateTest from the other PR. It passes for me on German timezone! I also added timestamp without TZ
* Fix the offset handling in #2467 to restore how it was in previous pgjdbc version.
* Improve test to cycle over all timezones. This shows that for some timezones like Aperica/New_York it fails while America/Toronto it works. This explains the problems.
* Rewrite test and make everything a parameter: type, zoneId, binary=true/false
* The Azores and Niue timezones have some problems in 1950 (e.g., Azores did not exist at that time), so removing them. Instead use a more common timezone
* Use ISOChronology in the test to make the BC dates more readable
TODO: Use this also in TimestampUtils
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] 97d910: More test and fix for issues discovered by #2476 (...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/09c2c3-97d910@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/09c2c3-97d910@github.com>
* 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