Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mg6lk-0005GW-J5 for pgsql-jdbc@arkaria.postgresql.org; Thu, 28 Oct 2021 14:52:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mg6lj-0000C3-Fu for pgsql-jdbc@arkaria.postgresql.org; Thu, 28 Oct 2021 14:52:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mg6lj-00009p-7v for pgsql-jdbc@lists.postgresql.org; Thu, 28 Oct 2021 14:52:39 +0000 Received: from out-21.smtp.github.com ([192.30.252.204] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mg6lg-00012e-La for pgsql-jdbc@lists.postgresql.org; Thu, 28 Oct 2021 14:52:38 +0000 Received: from github.com (hubbernetes-node-d218dd9.ac4-iad.github.net [10.52.205.75]) by smtp.github.com (Postfix) with ESMTPA id 948AE52022E for ; Thu, 28 Oct 2021 07:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1635432755; bh=RqaQtE3OSjI5X7ybouoE3cwdQJYiFV4v02bpt6qbtWc=; h=Date:From:To:Subject:From; b=bRTS70nF6GxJGa66y2S0MSl0kddCpVzDRWDYE1jVvJWu4VTtMd2wUH2DVAOmZ1eAu 9uZ4N/8mWOl405wIhWtcvpcCUtRLNX67VUo5CGa+79f7ySbCmo+l3DSuWP63lR2cOR SW/KnxP0JlC4Anw3xlJanuU0pefxW5AhT3uuN8qY= Date: Thu, 28 Oct 2021 07:52:35 -0700 From: Brett Okken To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] b3050e: fix: numeric binary decode for even 10 thousands (... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: b3050e60f81b4e43fae452bcf6df297df2048ae4 https://github.com/pgjdbc/pgjdbc/commit/b3050e60f81b4e43fae452bcf6df297df2048ae4 Author: Brett Okken 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