[JDBC] [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp stringsretu... - Mailing list pgsql-jdbc

From Michael
Subject [JDBC] [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp stringsretu...
Date
Msg-id 59f087034276b_38ad3fca69ef9c3c1485ad@hookshot-fe5-cp1-prd.iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
Branch: refs/heads/master Home:   https://github.com/pgjdbc/pgjdbc Commit: d28deff57684349707d2b2a357048f59b0861bb1
 https://github.com/pgjdbc/pgjdbc/commit/d28deff57684349707d2b2a357048f59b0861bb1 Author: Michael
<michaelzg@users.noreply.github.com>Date:   2017-10-25 (Wed, 25 Oct 2017)
 
 Changed paths:   M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java   M
pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java
 Log Message: ----------- fix: trim trailing zeros in timestamp strings returned in binary mode (#896)

This commit trims trailing zeros from the fractional seconds in timestamp strings returned under binary mode, where the
fractionalseconds used to be zero padded to 6 digits. This provides consistency in the returned timestamp strings under
bothforced and regular binary modes.
 

fixes #885



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

pgsql-jdbc by date:

Previous
From: Barnabas Bodnar
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 8f5e24: fix: don't attempt to read a SQLXML more thanonce...
Next
From: Dave Cramer
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 2dcb91: fix: support Subject Alternative Names forSSL con...