Skip to content

Fix incorrect usage of gp_versionstr in pg_upgrade version check #1063

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

yjhjstz
Copy link
Member

@yjhjstz yjhjstz commented Apr 24, 2025

Previously, the Cloudberry-specific version string was incorrectly written into versionstr instead of gp_versionstr, breaking the fallback comparison logic in check_exec(). This caused version checks to fail when the program output matched the expected Apache Cloudberry format.

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@yjhjstz yjhjstz requested a review from my-ship-it April 24, 2025 16:39
@yjhjstz yjhjstz force-pushed the fix_gp_versionstr branch from 082eaae to f6aa3ff Compare April 24, 2025 17:47
@yjhjstz yjhjstz requested review from avamingli and jiaqizho April 27, 2025 13:45
Previously, the Cloudberry-specific version string was incorrectly written
into `versionstr` instead of `gp_versionstr`, breaking the fallback comparison
logic in `check_exec()`. This caused version checks to fail when the program
output matched the expected Apache Cloudberry format.
@my-ship-it my-ship-it force-pushed the fix_gp_versionstr branch from f6aa3ff to c78f583 Compare May 9, 2025 05:46
@my-ship-it my-ship-it merged commit 8c543ce into apache:main May 9, 2025
26 checks passed
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