Skip to content

Total refactoring of os_ops::execute_command #203

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

Conversation

dmitry-lipetsk
Copy link
Collaborator

Main

  • We check only an exit code to detect an error.
  • If someone utility returns a result through an exit code, a caller side should set ignore_errors=true and process this case itself.
  • If expect_error is true and no errors occurred, we raise an InvalidOperationException.

Main
 - We check only an exit code to detect an error.
 - If someone utility returns a result through an exit code, a caller side should set ignore_errors=true and process this case itself.
 - If expect_error is true and no errors occurred, we raise an InvalidOperationException.
Let's rollback the new code to avoid problems with probackup2' tests.
@dmitry-lipetsk dmitry-lipetsk merged commit 0ffd5f0 into postgrespro:master Mar 1, 2025
1 check 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.

1 participant