Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.postgresql:postgresql from 42.6.0 to 42.7.1 in /by-language/java-qa #191

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

References

Dependabot says....

Bumps org.postgresql:postgresql from 42.6.0 to 42.7.1.

Release notes

Sourced from org.postgresql:postgresql's releases.

v42.7.1

Fixed regressions since 42.7.0

  • Revert "Use canonical DateStyle name (#2925)" @​vlsi (#3035)
  • Revert "feat: support SET statements combining with other queries with semicolon in PreparedStatement" @​vlsi (#3010)
  • chore: use java.release=8 when building pgjdbc from the generated source distribution @​vlsi (#3038), the driver uses Java 8 methods only

Changes

  • Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken @​davecramer (#3040)
  • perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing @​vlsi (#3044)
  • fix: avoid timezone conversions when sending LocalDateTime to the database @​vlsi (#2852)
  • fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc @​chrullrich (#2720)

🧰 Maintenance

⬆️ Dependencies

... (truncated)

Changelog

Sourced from org.postgresql:postgresql's changelog.

[42.7.1] (2023-12-06 08:34:00 -0500)

Changed

  • perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR #3044](pgjdbc/pgjdbc#3044)

Fixed

[42.7.0] (2023-11-20 09:33:00 -0500)

Changed

Fixed

Commits
  • 27bbccf fix attribution
  • bb577e0 prepared for release 42.7.1 update changelogs (#3037)
  • c1a851c fix: avoid timezone conversions when sending LocalDateTime to the database
  • 25fdfc3 fix(deps): update dependency org.checkerframework:org.checkerframework.gradle...
  • 244f4c0 test: use a fixed 1.0.0-dev-master-SNAPSHOT driver version when testing with ...
  • 1492c98 chore: exclude postgresql 1.0.0-dev-master-SNAPSHOT from Renovate as we use t...
  • 8cfd00c chore: use allowedVersions to limit Renovate updates
  • 9e22ac0 chore(deps): update plugin biz.aqute.bnd.builder to v7
  • 9244c0d fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.p...
  • 5f48b07 chore: try using different syntax for Renovate from upgrading system-stubs 1....
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.6.0 to 42.7.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](pgjdbc/pgjdbc@REL42.6.0...REL42.7.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 11, 2023
Starting with version 42.7.0, the driver issues a query statement like

  SELECT *
  FROM pg_catalog.pg_settings
  WHERE name=default_transaction_isolation

This is not supported by CrateDB.
Comment on lines 193 to +195
@Test
@Ignore("Not supported by CrateDB after pgjdbc 42.7.0 changed the implementation")
// https://github.com/crate/crate/issues/15113
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mirrors the same skipping like applied on crate-qa.

As before there was 

It looks actually correct now in 42.7, as `doc` is the schema, but not
the catalog. The SQL statement returns `crate`, not `doc`.

  SELECT DISTINCT table_catalog FROM information_schema.tables 

On the upstream release notes:

  feat: return all catalogs for getCatalogs metadata query closes
  ISSUE #2949 PR #2953

  -- https://jdbc.postgresql.org/changelogs/2023-11-20-42.7.0-release/
assertThat(result.getString(1), is("doc"));
assertThat(result.getString(1), is("crate"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amotl amotl merged commit 66b83b8 into main Jan 10, 2024
3 checks passed
@amotl amotl deleted the dependabot/maven/by-language/java-qa/org.postgresql-postgresql-42.7.1 branch January 10, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants