[pgjdbc/pgjdbc] 104d2e: redo PR fix_binary_transfer_floating point from b...

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

[pgjdbc/pgjdbc] 104d2e: redo PR fix_binary_transfer_floating point from b...

От:
Dave Cramer <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 104d2e79f9291822bd0116af82595b0b5a4c4fc7
      https://github.com/pgjdbc/pgjdbc/commit/104d2e79f9291822bd0116af82595b0b5a4c4fc7
  Author: Dave Cramer 
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetTest.java

  Log Message:
  -----------
  redo PR fix_binary_transfer_floating point  from brett, removed BigDecimal where possible (#2719)

* redo pr from brett, removed BigDecimal where possible

* Use double LONG_MAX instead of float. Fix binary readLong to be compatible with how strings are read

* convert to BigInteger and then test

* cast to double

* make tests easier to read




FAQ