[pgjdbc/pgjdbc] 6ce917: fix: allow disabling field metadata cache(#1052) - Mailing list pgsql-jdbc

From Marc Slemko
Subject [pgjdbc/pgjdbc] 6ce917: fix: allow disabling field metadata cache(#1052)
Date
Msg-id 5af3529f13fbd_38482ab417375c085963@hookshot-fe-32b5f5b.cp1-iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 6ce91721048dea0e73231fa50c365108e9b9d49d
      https://github.com/pgjdbc/pgjdbc/commit/6ce91721048dea0e73231fa50c365108e9b9d49d
  Author: Marc Slemko <marcs@znep.com>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/PGProperty.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSetMetaData.java
    A pgjdbc/src/main/java/org/postgresql/util/Gettable.java
    A pgjdbc/src/main/java/org/postgresql/util/GettableHashMap.java
    M pgjdbc/src/main/java/org/postgresql/util/LruCache.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetMetaDataTest.java

  Log Message:
  -----------
  fix: allow disabling field metadata cache (#1052)

Clients accessing very dynamic schemas can have issues with the
field metadata cache getting stale.  This change allows configuring the
databaseMetadataCacheFields property to 0 to disable the cache and
avoid these issues where necessary.  This behaviour was already
documented, however did not actually work as the codepath assumed
it could retrieve the fields from the cache.



      **NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

pgsql-jdbc by date:

Previous
From: Hari Babu Kommi
Date:
Subject: [pgjdbc/pgjdbc] e88abd: spelling mistake correction (#1181)
Next
From: Jorge Solorzano
Date:
Subject: [pgjdbc/pgjdbc] 354d28: fix: error on Travis build head (#1186)