[pgjdbc/pgjdbc] e38868: fix: #1677 NumberFormatException whenfetching PGI...
[pgjdbc/pgjdbc] e38868: fix: #1677 NumberFormatException whenfetching PGI...
От:
Svein Baardsen <noreply@github.com>
Дата:
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: e38868b29cafa7e8a9a5db67adb5a67cc2b5f230
https://github.com/pgjdbc/pgjdbc/commit/e38868b29cafa7e8a9a5db67adb5a67cc2b5f230
Author: Svein Baardsen
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/util/PGInterval.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/IntervalTest.java
Log Message:
-----------
fix: #1677 NumberFormatException when fetching PGInterval with small value (#1678)
* fix: #1677 NumberFormatException when fetching PGInterval with small value
* fix: PGInterval.getValue for microsecond values
* ensure getValue always uses at least one decimal place for seconds
* fix: PGInterval.getSeconds for microsecond values