Skip to content

Fix unrecognized value error in upgrade test #7348

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
Oct 15, 2024
Merged

Fix unrecognized value error in upgrade test #7348

merged 1 commit into from
Oct 15, 2024

Conversation

svenklemm
Copy link
Member

@svenklemm svenklemm commented Oct 15, 2024

When post.catalog.sql is run outside of pgupgrade test it will raise the error unrecognized value ":PG_UPGRADE_TEST" for "\if expression": Boolean expected This patch defines the variable and sets it to false for non pgupgrade runs.

Disable-check: force-changelog-file

When post.catalog.sql is run outside of pgupgrade test it will
raise the error `unrecognized value ":PG_UPGRADE_TEST" for "\if expression": Boolean expected`
This patch defines the variable and sets it to false for non pgupgrade runs.
@svenklemm svenklemm added the ci label Oct 15, 2024
@svenklemm svenklemm self-assigned this Oct 15, 2024
@svenklemm svenklemm requested a review from kpan2034 October 15, 2024 18:44
@svenklemm svenklemm merged commit b2e6549 into main Oct 15, 2024
43 of 45 checks passed
@svenklemm svenklemm deleted the psql_variable branch October 15, 2024 20:40
@akuzm akuzm added the released-2.18.0 Released in 2.18.0 label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci released-2.18.0 Released in 2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants