Skip to content

LocalOperations::get_single_instance is added #252

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Conversation

dmitry-lipetsk
Copy link
Collaborator

This 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  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-lipetskdmitry-lipetsk merged commit df4f545 into postgrespro:master May 6, 2025
1 check passed
Sign up for free to join this conversation on . 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
@dmitry-lipetsk