[pgjdbc/pgjdbc] b3050e: fix: numeric binary decode for even 10 thousands (...

From: Brett Okken <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] b3050e: fix: numeric binary decode for even 10 thousands (...
Date: 2021-10-28 14:52:35
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/671130-b3050e@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: b3050e60f81b4e43fae452bcf6df297df2048ae4
https://github.com/pgjdbc/pgjdbc/commit/b3050e60f81b4e43fae452bcf6df297df2048ae4
Author: Brett Okken <brett(dot)okken(dot)os(at)gmail(dot)com>
Date: 2021-10-28 (Thu, 28 Oct 2021)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/util/ByteConverter.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc2/NumericTransferTest2.java
M pgjdbc/src/test/java/org/postgresql/util/BigDecimalByteConverterTest.java

Log Message:
-----------
fix: numeric binary decode for even 10 thousands (#2327)

* fix: numeric binary decode for even 10 thousands

binary numeric values which represented integers multiples of 10,000
from 10,000-9,990,000 were not decoded correctly

fixes https://github.com/pgjdbc/pgjdbc/issues/2326

* fix: numeric binary decode for even 10 thousands

more test values

* fix: numeric binary decode for even 10 thousands

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-10-28 16:27:42 [pgjdbc/pgjdbc]
Previous Message Dave Cramer 2021-10-27 11:33:29 [pgjdbc/pgjdbc] 671130: Remove references to JAVA 6 and 7 (#2312)