[pgjdbc/pgjdbc] f2d8ec: fix: use 00:00:00 and 24:00:00 for LocalTime.MIN/M...

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] f2d8ec: fix: use 00:00:00 and 24:00:00 for LocalTime.MIN/M...
Date: 2017-10-24 09:34:18
Message-ID: 59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-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: f2d8ec5740aa26c417d666a7afedaaf0fdf62d37
https://github.com/pgjdbc/pgjdbc/commit/f2d8ec5740aa26c417d666a7afedaaf0fdf62d37
Author: Dave Cramer <davecramer(at)gmail(dot)com>
Date: 2017-10-24 (Tue, 24 Oct 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/jdbc42/PreparedStatementTest.java

Log Message:
-----------
fix: use 00:00:00 and 24:00:00 for LocalTime.MIN/MAX (#992)

'infinity'::time does not work, so 00:00:00 and 24:00:00 are used.

# select '24:00:01'::time;
ERROR: date/time field value out of range: "24:00:01"
LINE 1: select '24:00:01'::time;

fixes #991

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solorzano 2017-10-24 12:47:47 [pgjdbc/pgjdbc] bdfc1d: chore: updates to CHANGELOG.md in release_notes.sh...
Previous Message AlexElin 2017-10-20 15:59:25 [pgjdbc/pgjdbc] c759a5: refactor: replace some usages of assertTrue (#957)