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

make test: Don't track NOTICEs #79

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

df7cb
Copy link
Contributor

@df7cb df7cb commented Oct 5, 2023

There's little value in tracking the noise of NOTICEs emitted during loading pg_sphere.test.sql, so just mute them.

The gain from this change is that future patches will not have to update the changed line numbers in the output tracked. (Cf. c2a2351)

\set ECHO all at the end of the file can be removed since a new psql session will be created for the next file anyway.

Copy link
Contributor

@esabol esabol left a comment

Choose a reason for hiding this comment

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

This addresses something that I (and other contributors, I think) have found to be very painful. Thank you!

@vitcpp
Copy link
Contributor

vitcpp commented Oct 5, 2023

Cool. Thank you!

There's little value in tracking the noise of NOTICEs emitted during
loading pg_sphere.test.sql, so just mute them.

The gain from this change is that future patches will not have to update
the changed line numbers in the output tracked. (Cf. c2a2351)
@df7cb
Copy link
Contributor Author

df7cb commented Oct 6, 2023

Rebased to master.

@vitcpp vitcpp merged commit 1366e73 into postgrespro:master Oct 6, 2023
15 checks passed
@df7cb df7cb deleted the init_test branch October 6, 2023 09:24
@df7cb df7cb mentioned this pull request Oct 23, 2023
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