10000 Respect PATH in a pg_probackup binary check by asavchkov · Pull Request #564 · postgrespro/pg_probackup · GitHub
[go: up one dir, main page]

Skip to content

Respect PATH in a pg_probackup binary check #564

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
Nov 10, 2022
Merged

Conversation

asavchkov
Copy link
Contributor

This modification allows one to set PGPROBACKUPBIN to a binary included in PATH.

8000
Copy link
Contributor
@Burus Burus left a comment

Choose a reason for hiding this comment

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

https://docs.python.org/3/library/shutil.html#shutil.which действительно все условия закрывает. Все равно нет уверенности, что это в будущем не сломается с какой-то другой версией питона.

@asavchkov asavchkov merged commit 7b62d11 into master Nov 10, 2022
@asavchkov asavchkov deleted the respect-path branch November 10, 2022 10:46
@Burus Burus added this to the 2.5.11 milestone Dec 21, 2022
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
0