[pgjdbc/pgjdbc] 151b28: Fix issue #2215 (#2217)

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

[pgjdbc/pgjdbc] 151b28: Fix issue #2215 (#2217)

От:
MMeent <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 151b287732a551c380dcaa34f9c0549aeeb26208
      https://github.com/pgjdbc/pgjdbc/commit/151b287732a551c380dcaa34f9c0549aeeb26208
  Author: MMeent 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/TypeInfo.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/TypeInfoCache.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc42/DatabaseMetaDataTest.java

  Log Message:
  -----------
  Fix issue #2215 (#2217)

Correctly handle the non-signedness of OIDs in relation to signed java integers in the new OID-based type cache.

Previously, this would cause 'bad value for type int'-errors, now this is correctly handled both ways in this part of the code.

Co-authored-by: Matthias van de Meent 




FAQ