Skip to content

[SPARK-58255][BUILD] Upgrade PostgreSQL JDBC driver to 42.7.13#57425

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58255
Closed

[SPARK-58255][BUILD] Upgrade PostgreSQL JDBC driver to 42.7.13#57425
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-58255

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Jul 22, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to upgrade the test dependency PostgreSQL JDBC driver to 42.7.13 which was released on 2026-07-06. The one-week dependency-update grace-period passed.

Why are the changes needed?

To maintain PostgreSQL JDBC driver test coverage up-to-date. This upgrade brings two releases:

  • https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.12 (2026-06-29)
    • Security: Fix silent channel-binding authentication downgrade (CVE-2026-54291). channelBinding=require connections could be silently downgraded from SCRAM-SHA-256-PLUS to plain SCRAM-SHA-256, losing MITM protection. Affects 42.7.4 through 42.7.11.
  • https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.13 (2026-07-06)
    • Security: Fail closed on channel-binding downgrade (hardening on top of the 42.7.12 fix).
    • Feature: Invalidate prepared statement cache via search_path GUC_REPORT (PG 18+), flushCacheOnDdl for transparent re-prepare after DDL, cap reWriteBatchedInserts by the protocol limit.
    • Fixes: honor scale in ResultSet.getBigDecimal(int, int), BlobInputStream mark/reset position, detect native CALL preceded by a comment, auto-detect SSL key format, close socket when connection setup fails after connect, support java.time values in updatable ResultSet, and more.

Does this PR introduce any user-facing change?

No, this is a test dependency.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @LuciferYang .

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @HyukjinKwon .

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merge Summary:

Posted by merge_spark_pr.py

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-58255 branch July 22, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants