Skip to content

LocalOperations::get_single_instance is added #252

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

This patch forces testgres to use a single instance of LocalOperations that is created with default parameters.

Note that, PortManager__ThisHost is used only when PostgresNode uses this single local_ops instance.

It is part of work for #247 [refactoring stage]

This patch forces testgres to use a single instance of LocalOperations that is created with default parameters.

Note that, PortManager__ThisHost is used only when PostgresNode uses this single local_ops instance.
@dmitry-lipetsk
Copy link
Collaborator Author

This PR was tested with probackup2, py 3.8.0, py 3.8, py 3.9.

@dmitry-lipetsk dmitry-lipetsk merged commit df4f545 into postgrespro:master May 6, 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.

None yet

1 participant