PostgreSQL JDBC Driver 42.2.21 Release Highlights
The PostgreSQL JDBC Driver (PgJDBC) version 42.2.21 introduces documentation updates for the deprecated DataSource API, ensures primary keys for updatable result sets, adds asynchronous notification handling, rewrites the OSGi bundle activator, and fixes metadata retrieval when search_path is not specified.
PostgreSQL JDBC Driver (PgJDBC) allows Java programs to connect to PostgreSQL databases using standard, database‑independent Java code. It is an open‑source, pure‑Java (type‑4) driver that communicates via PostgreSQL's native network protocol.
PGJDBC team officially released version 42.2.21, a small maintenance update with the following changes:
Updated documentation to reflect the deprecated DataSource API setServerName.
Ensured that tables have defined primary keys when using updatable result sets.
Added handling for asynchronous notifications or errors after a prepared query is read.
Rewrote the OSGi bundle activator, fixing issue #2133.
Corrected database metadata getFunctions() and getProcedures() to respect search_path when no schema is specified.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
