Download Latest Version v42.7.13 source code.zip (3.2 MB)
Email in envelope

Get an email when there's a new version of PostgreSQL JDBC Driver

Home / REL42.7.13
Name Modified Size InfoDownloads / Week
Parent folder
postgresql-42.7.13.jar.asc 2026-07-06 801 Bytes
postgresql-42.7.13.jar 2026-07-06 1.2 MB
README.md 2026-07-06 12.2 kB
v42.7.13 source code.tar.gz 2026-07-06 2.5 MB
v42.7.13 source code.zip 2026-07-06 3.2 MB
Totals: 5 Items   6.9 MB 8

Changes

  • docs: add 42.7.13 release changelog @davecramer (#4270)
  • Adjust EditorConfig für Makefile @BaumiCoder (#4279)
  • fix(scram): fail closed on channel-binding downgrade (no scram bump) @vlsi (#4272)
  • Bump pgjdbc version from 42.7.12 to 42.7.13 @davecramer (#4269)
  • chore: remove test-anorm-sbt module and its disabled CI wiring @vlsi (#4261)
  • refactor(test-gss): convert to Java/JUnit 5 submodule of the main build @vlsi (#4166)
  • ci: derive PG test versions from a Renovate-managed maxPgVersion @vlsi (#4218)
  • feat(insert): cap reWriteBatchedInserts by the protocol limit, not 128 @vlsi (#4207)
  • refactor(metadata): derive getPrimaryKeys from pg_constraint.conkey @vlsi (#4202)
  • fix(protocol): defer flushes until response processing @vlsi (#4196)
  • fix(build): resolve the Temurin 8 test toolchain by vendor @vlsi (#4257)
  • build: include multi-release source sets in the JaCoCo coverage report @vlsi (#4256)
  • fix(ci): read java_vendor before overwriting java_distribution @vlsi (#4255)
  • ci: generate the whole matrix in one batch, coverage job included @vlsi (#4253)
  • ci: pass CODECOV_TOKEN so protected-branch coverage uploads succeed @vlsi (#4254)
  • ci: collect coverage on one pinned job @vlsi (#4245)
  • ci: apply -DqueryTimeout from the matrix query_timeout axis @vlsi (#4246)
  • ci: make Codecov project and patch statuses informational @vlsi (#4244)
  • fix(build): restore JaCoCo XML report so Codecov receives coverage @vlsi (#4240)
  • test(replication): shrink big-transaction inserts to avoid CI timeouts @vlsi (#4243)
  • update maintainers @davecramer (#4222)
  • test: add hermetic test for localSocketAddress @vlsi (#4224)
  • docs(translation): clean up leftover German header in ja.po @vlsi (#4206)
  • Update ja.po @davecramer (#2004)
  • test: add PostgreSQL 18 to the CI test matrix @vlsi (#4198)
  • test: silence expected SSPI warning stack trace in SSPIClientWaffleTest @vlsi (#4197)
  • fix(ssl): build PKIX trust anchors without a KeyStore so FIPS-mode JVMs can load sslrootcert @vlsi (#4193)
  • test: fix flaky sentLocationEqualToLastReceiveLSN replication test @vlsi (#4175)
  • build: promote MethodCanBeStatic to error level @vlsi (#4172)
  • Fix PGInterval.setSeconds to reject out of range and NaN values @sehrope (#4194)
  • Replace connectThreadFactory with connectExecutor @sehrope (#4165)
  • Fix deleting temp file when spooling large stream to disk in StreamWrapper @sehrope (#4190)
  • chore: Add top level /scratch to gitignore @sehrope (#4164)
  • refactor: favour composition over inheritance for Driver.ConnectTask @vlsi (#4160)
  • Fix NumberParser.getFastLong(...) handling of overlong values @sehrope (#4163)
  • build: produce a multi-release jar from reduced-pom.xml on Java 11+ @vlsi (#4157)
  • Add connectThreadFactory and refactor Driver to use FutureTask for loginTimeout connection attempts @sehrope (#4120)
  • test: verify custom properties reach socket factory @vlsi (#4125)
  • test: fix LazyCleanerTest timeouts for the lingering Java 8 cleanup thread @vlsi (#4122)
  • test: stabilise StatementTest.fastCloses on Windows @vlsi (#4121)
  • fix: append default non-proxy hosts when socksNonProxyHosts is set @davecramer (#4045)
  • test: budget terminating Sync in BatchDeadlockTest small-RETURNING branch @vlsi (#4116)
  • test: make message assertions locale-independent @vlsi (#4113)
  • build: drop xgettext default keywords; regenerate translations @vlsi (#4100)
  • ci: opt-in scheduled workflows via ENABLE_SCHEDULED_JOBS repo variable @vlsi (#4085)
  • Avoid direct java.lang.management dependency in maxResultBuffer parser @mblakley-casana (#4069)
  • fix: restore pre-describe for generated-key batches @bilalshehata (#4014)
  • revert: drop unrelated whitespace changes in CHANGELOG.md @dfa1 (#4065)
  • fix: getCharacterStream wraps String in StringReader @dfa1 (#4063)

🚀 Features

  • feat: invalidate prepared statement cache via search_path GUC_REPORT (PG 18+) @vlsi (#4259)
  • feat: add classLoaderStrategy for thread-context classloader fallback @vlsi (#4167)

🐛 Bug Fixes

  • fix(jdbc): reject empty timestamp/date/time text with a clear error @vlsi (#4278)
  • fix: flush LargeObject output stream before marking closed @davecramer (#4248)
  • fix(jdbc): classify updatable result set by search_path visibility @vlsi (#4214)
  • fix: render bytea text parameters in PreparedStatement#toString @vlsi (#4201)
  • feat: invalidate prepared statement cache via search_path GUC_REPORT (PG 18+) @vlsi (#4259)
  • fix: detect native CALL preceded by a comment in CallableStatement (#2538) @vlsi (#4209)
  • fix(jdbc): return null CHAR_OCTET_LENGTH for non-character columns @vlsi (#4231)
  • fix(jdbc): honor scale in ResultSet.getBigDecimal(int, int) @vlsi (#4211)
  • fix(largeobject): correct BlobInputStream mark/reset position and add efficient skip @vlsi (#4204)
  • fix(core): detect search_path changes case-insensitively @vlsi (#4216)
  • fix(build): restore checker-qual and waffle-jna in the published pom @vlsi (#4199)
  • fix: clear ResourceBundle cache on deregister so the driver can unload @vlsi (#4237)
  • fix: support java.time values in updatable ResultSet updateRow()/insertRow() @devs-lair (#3848)
  • fix: skip autosave savepoint for SET LOCAL/SESSION TRANSACTION (#3307) @vlsi (#4203)
  • fix: simplify implementation of Statement#cancel @vlsi (#1827)
  • fix: auto-detect SSL key format instead of relying on .key extension @vlsi (#3946)
  • fix: avoid AssertionError in BatchResultHandler when the connection is closed @vlsi (#4187)
  • fix: close socket when PgConnection setup fails after connect @vlsi (#4161)
  • fix: avoid nulling contextClassLoader on shared commonPool workers @vlsi (#4156)
  • fix: keep LazyCleanerImpl cleanup task alive across transient empty queue @vlsi (#4038)
  • fix: PGXAConnection no longer saves and restores the caller's autoCommit @vlsi (#4114)
  • i18n: use MessageFormat placeholders in three GT.tr call sites @vlsi (#4105)
  • feat: flushCacheOnDdl — transparent re-prepare after CREATE/DROP/ALTER @vlsi (#4067)
  • fix: make sure GSS connection uses gssResponseTimeout rather than sslResponseTimeout @vlsi (#4076)

📝 Documentation

  • Maintain consistency with the use of the word maintainer vs comitter @davecramer (#4234)
  • test: guard authentication-plugin test against trust auth (#2442) @vlsi (#4239)
  • feat: invalidate prepared statement cache via search_path GUC_REPORT (PG 18+) @vlsi (#4259)
  • docs: note PKCS-12 client certificate chain requirement @vlsi (#4200)
  • docs: clarify search_path correctness for server-prepared statements @vlsi (#4227)
  • i18n(it): fill untranslated messages salvaged from [#1278] @vlsi (#4225)
  • docs: advertise RSS feeds with an autodiscovery link @vlsi (#4250)
  • docs: redirect legacy documentation URLs to their new Hugo pages @vlsi (#4238)
  • docs: remove null check that can never fail @djarnis73 (#4242)
  • fix: reject SQL_TSI_FRAC_SECOND with an explicit, explained error @vlsi (#4229)
  • i18n(zh_CN): fill untranslated messages salvaged from [#2123] @vlsi (#4208)
  • docs: clarify URL connection options fixes Issue [#2526] @davecramer (#2532)
  • docs: add 42.7.11 release changelog @vlsi (#4078)
  • i18n: russian translation @vlsi (#1280)

🧰 Maintenance

  • build: check docs/ and .github/ formatting with Autostyle @vlsi (#4276)
  • ci: skip Codecov upload on failed branch builds @vlsi (#4260)
  • feat(core): add OID constants for geometric arrays, RECORD, refcursor @vlsi (#4220)
  • ci: upload heap dumps from all modules and on push failures @vlsi (#4236)
  • fix: reject null URL in Driver.acceptsURL with a clear NullPointerException @vlsi (#4205)
  • refactor(core): drop unused encoding Writer plumbing from PGStream @vlsi (#4215)
  • build: verify benchmarks under check and CI, skip Jandex for them @vlsi (#4235)
  • fix: attach the released jar and signature to the GitHub release @vlsi (#3814)
  • build: ignore .codex-review scratch folder @vlsi (#4219)
  • test: add CI testing against PostgreSQL HEAD @vlsi (#3257)
  • ci: group Renovate updates by Maven groupId @vlsi (#4184)
  • build: tidy .gitattributes for generated files and java diffs @vlsi (#4118)
  • build: use explicit fileTree for gettext .po inputs @vlsi (#4106)
  • i18n: convert ISO-8859-x .po files to UTF-8 @vlsi (#4115)
  • ci: validate renovate.json on push and pull request @vlsi (#4112)
  • ci(renovate): cap junit-bom \<6.0 and checkerframework \<4.0 @vlsi (#4111)

⬆️ Dependencies

45 changes - fix(deps): update dependency com.gradleup.shadow:com.gradleup.shadow.gradle.plugin to v9.4.3 @renovate-bot (#4258) - fix(deps): update dependency com.gradleup.shadow:com.gradleup.shadow.gradle.plugin to v9.4.2 @renovate-bot (#4176) - chore(deps): update kotlin monorepo to v2.4.0 @renovate-bot (#4183) - chore(deps): update gradle/actions action to v6.2.0 @renovate-bot (#4182) - fix(deps): update dependency jacoco to v0.8.15 @renovate-bot (#4177) - fix(deps): update logback to v1.5.34 @renovate-bot (#4180) - chore(deps): update plugin com.github.burrunan.s3-build-cache to v1.9.6 @renovate-bot (#4173) - chore(deps): update plugin com.gradle.develocity to v4.4.2 @renovate-bot (#4174) - chore(deps): update github/codeql-action action to v4.36.2 @renovate-bot (#4171) - chore(deps): update dependency sbt/sbt to v1.12.12 @renovate-bot (#4170) - chore(deps): update actions/checkout action to v6.0.3 @renovate-bot (#4169) - chore(deps): update codecov/codecov-action digest to fb8b358 @renovate-bot (#4168) - fix(deps): update dependency net.ltgt.errorprone:net.ltgt.errorprone.gradle.plugin to v5 @renovate-bot (#4109) - chore(deps): update ubuntu docker tag to v26 @renovate-bot (#4103) - fix(deps): update com.github.vlsi to v3 @renovate-bot (#4107) - fix(deps): update dependency checkstyle to v13 @renovate-bot (#4108) - chore(deps): update github/codeql-action action to v4 @renovate-bot (#4097) - chore(deps): update peaceiris/actions-hugo action to v3 @renovate-bot (#4101) - chore(deps): update gradle/actions action to v6 @renovate-bot (#4098) - chore(deps): update release-drafter/release-drafter action to v7 @renovate-bot (#4102) - fix(deps): update dependency org.ow2.asm:asm-bom to v9.10.1 @renovate-bot (#4096) - fix(deps): update dependency org.openrewrite.rewrite:org.openrewrite.rewrite.gradle.plugin to v7.33.0 @renovate-bot (#4095) - chore(deps): update github/codeql-action action to v3.36.0 @renovate-bot (#4094) - chore(deps): update actions/create-github-app-token action to v3.2.0 @renovate-bot (#4093) - chore(deps): update codecov/codecov-action digest to e79a696 @renovate-bot (#4089) - chore(deps): update burrunan/gradle-cache-action action to v3.0.2 @renovate-bot (#4090) - chore(deps): update dependency com.typesafe.play:sbt-plugin to v2.9.11 @renovate-bot (#4091) - chore(deps): update gradle to v9.5.1 @renovate-bot (#4092) - fix(deps): update dependency com.google.errorprone:error\_prone\_core to v2.49.0 @renovate-bot (#4030) - chore(deps): update actions/upload-pages-artifact action to v5 @renovate-bot (#4060) - chore(deps): update codecov/codecov-action action to v6 @renovate-bot (#4061) - chore(deps): update actions/setup-java action to v5 @renovate-bot (#4058) - chore(deps): update actions/upload-artifact action to v7 @renovate-bot (#4059) - chore(deps): update actions/github-script action to v9 @renovate-bot (#4057) - chore(deps): update actions/deploy-pages action to v5 @renovate-bot (#4056) - fix(deps): update dependency org.openrewrite.rewrite:org.openrewrite.rewrite.gradle.plugin to v7.32.1 @renovate-bot (#4055) - fix(deps): update com.gradleup.nmcp to v1.5.0 @renovate-bot (#4054) - fix(deps): update dependency org.ops4j.pax.url:pax-url-aether to v3.0.3 @renovate-bot (#4052) - chore(deps): update gradle to v9.5.0 @renovate-bot (#4053) - chore(deps): update plugin org.jetbrains.kotlin.jvm to v2.3.21 @renovate-bot (#4050) - fix(deps): update dependency org.junit:junit-bom to v5.14.4 @renovate-bot (#4051) - chore(deps): update ubuntu:24.04 docker digest to c4a8d55 @renovate-bot (#4046) - chore(deps): update dependency sbt/sbt to v1.12.11 @renovate-bot (#4047) - chore(deps): update github/codeql-action action to v3.35.3 @renovate-bot (#4048) - chore(deps): update plugin com.gradle.develocity to v4.4.1 @renovate-bot (#4049)
Source: README.md, updated 2026-07-06