pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <davecramer@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] f2d8ec: fix: use 00:00:00 and 24:00:00 for LocalTime.MIN/M...
Date: Tue, 24 Oct 2017 02:34:18 -0700
Message-ID: <59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: f2d8ec5740aa26c417d666a7afedaaf0fdf62d37
      https://github.com/pgjdbc/pgjdbc/commit/f2d8ec5740aa26c417d666a7afedaaf0fdf62d37
  Author: Dave Cramer <davecramer@gmail.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



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



Message-ID: <59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail>
Permalink:  ../59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail/
Also on:    postgresql.org/message-id/59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail

 · 

reply

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: davecramer@gmail.com
  Subject: Re: [pgjdbc/pgjdbc] f2d8ec: fix: use 00:00:00 and 24:00:00 for LocalTime.MIN/M...
  In-Reply-To: <59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail>
  References: <59ef091a33ed4_5cb3f91b519fc2c88666@hookshot-fe5-cp1-prd.iad.github.net.mail>

* 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