Skip to content

[FLINK-40060][Connectors/JDBC] Remove redundant org.postgresql dependency in flink-connector-jdbc-backward-compatibility#201

Open
ocb3916 wants to merge 1 commit into
apache:mainfrom
ocb3916:FLINK-40060
Open

[FLINK-40060][Connectors/JDBC] Remove redundant org.postgresql dependency in flink-connector-jdbc-backward-compatibility#201
ocb3916 wants to merge 1 commit into
apache:mainfrom
ocb3916:FLINK-40060

Conversation

@ocb3916

@ocb3916 ocb3916 commented Jul 3, 2026

Copy link
Copy Markdown

What is the purpose of the change

flink-connector-jdbc-backward-compatibility/pom.xml declares the
org.postgresql:postgresql test dependency twice:

  • once using the ${postgres.version} property
  • once hardcoded as 42.7.3

Since ${postgres.version} already resolves to 42.7.3, the two
declarations are identical and the hardcoded one is redundant.

Brief change log

  • Removed the duplicate org.postgresql:postgresql dependency that
    hardcoded the version as 42.7.3, keeping only the declaration that
    uses the ${postgres.version} property.

Verifying this change

This is a test-scope dependency cleanup with no production code
impact. Existing tests should continue to pass unchanged since the
remaining dependency resolves to the same version.

Does this pull request potentially affect one of the following parts

  • Dependencies (test scope only): yes
  • The public API, i.e., is any changed class annotated with
    @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths: no
  • Anything that affects deployment or recovery: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@boring-cyborg

boring-cyborg Bot commented Jul 3, 2026

Copy link
Copy Markdown

Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html)

@RocMarshal RocMarshal changed the title [FLINK-40060] Remove redundant org.postgresql dependency in flink-connector-jdbc-backward-compatibility [FLINK-40060][Connectors/JDBC] Remove redundant org.postgresql dependency in flink-connector-jdbc-backward-compatibility Jul 3, 2026
@RocMarshal RocMarshal closed this Jul 3, 2026
@RocMarshal RocMarshal reopened this Jul 3, 2026
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.

2 participants