[pgjdbc/pgjdbc] f37570: fix: infinity handling for java.time types

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] f37570: fix: infinity handling for java.time types
Date: 2017-04-17 09:53:57
Message-ID: 58f490b5ec740_16c13fa95b4c7c34170675@hookshot-fe3-cp1-prd.iad.github.net.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: f375701b571c308b7e389df49c1d958f416e4340
https://github.com/pgjdbc/pgjdbc/commit/f375701b571c308b7e389df49c1d958f416e4340
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2017-04-17 (Mon, 17 Apr 2017)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310InfinityTests.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42TestSuite.java

Log Message:
-----------
fix: infinity handling for java.time types

Date/Timestamp infinity get converted to LocalDate.MIN/MAX and friends.

fixes #789

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2017-04-17 12:50:02 Re: Logical Replication: adjacent COMMIT messages with the wrong StartLSN
Previous Message Vladimir Sitnikov 2017-04-17 08:54:08 [pgjdbc/pgjdbc] 28c984: fix: fix last block of stream being ignored if siz...