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

From: MMeent <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 151b28: Fix issue #2215 (#2217)
Date: 2021-07-29 11:04:51
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/0e9925-151b28@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: 151b287732a551c380dcaa34f9c0549aeeb26208
https://github.com/pgjdbc/pgjdbc/commit/151b287732a551c380dcaa34f9c0549aeeb26208
Author: MMeent <boekewurm(at)gmail(dot)com>
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 <matthias(dot)vandemeent(at)cofano(dot)nl>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-07-29 11:07:45 Re: Source code for 42.2.23 is not available on the main page
Previous Message Cherio 2021-07-28 00:51:05 Re: Source code for 42.2.23 is not available on the main page