[pgjdbc/pgjdbc] 64ac1d: fixForIsAutoGenerated Fix For IS_AUTOGENERATED Fla...

From: JoelRabinovitch <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 64ac1d: fixForIsAutoGenerated Fix For IS_AUTOGENERATED Fla...
Date: 2021-11-19 00:04:10
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/e0d388-64ac1d@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: 64ac1d2fb23e867869c5ac37a19e011e0e6be678
https://github.com/pgjdbc/pgjdbc/commit/64ac1d2fb23e867869c5ac37a19e011e0e6be678
Author: JoelRabinovitch <joel(dot)rabinovitch(at)tecsys(dot)com>
Date: 2021-11-18 (Thu, 18 Nov 2021)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java

Log Message:
-----------
fixForIsAutoGenerated Fix For IS_AUTOGENERATED Flag (#2348)

* fixForIsAutoGenerated Fix For IS_AUTOGENERATED Flag

Adjust logic to set the IS_AUTOGENERATED flag correctly based on the
information from the attgenerated column in the pg_attribute table.

This change only applies to PostgreSQL version 12 and higher. For lower
version, the value will be returned as "NO".

Thanks for the addition!

Browse pgsql-jdbc by date

  From Date Subject
Next Message Michał Wyrzykowski 2021-11-24 17:04:49 [pgjdbc/pgjdbc] 194411: fix: Connection leak in ConnectionFactoryImpl#tryC...
Previous Message Dave Cramer 2021-11-18 13:10:59 [pgjdbc/pgjdbc] e0d388: fix: parsing service file tests for windows (#2347)