Обсуждение: [JDBC] [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp stringsretu...

Поиск
Список
Период
Сортировка

[JDBC] [pgjdbc/pgjdbc] d28def: fix: trim trailing zeros in timestamp stringsretu...

От
Michael
Дата:
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