Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add pg_upgrade option#97

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
demonolock merged 1 commit intomasterfromupdate_node_func
Jan 2, 2024
Merged

Add pg_upgrade option#97

demonolock merged 1 commit intomasterfromupdate_node_func
Jan 2, 2024

Conversation

demonolock
Copy link
Contributor

No description provided.

@demonolockdemonolockforce-pushed theupdate_node_func branch 5 times, most recently from17fb333 to2654ee1CompareDecember 20, 2023 10:14
@@ -127,20 +127,23 @@ def __repr__(self):


class PostgresNode(object):
def __init__(self, name=None, port=None, base_dir=None, conn_params: ConnectionParams = ConnectionParams()):
def __init__(self, name=None, port=None, base_dir=None, conn_params: ConnectionParams = ConnectionParams(), bin_dir=None, prefix=None):
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you really need to change anything with respect toprefix? It only determines the path to the temporary folders used for running tests. Tests are run with the new node only, not with the old one, so the old node should not need temporary folders (and thus its ownprefix) at all.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Prefix is used as parameter for this structure
self._base_dir = self.os_ops.mkdtemp(prefix=self._prefix or TMP_NODE)
TMP_NODE - is just generated string that hard to read and memorize. Adding the parameter will make tests easer for reading and understanding.

@demonolockdemonolockforce-pushed theupdate_node_func branch 3 times, most recently from248ced6 to334bb22CompareJanuary 2, 2024 07:05
@demonolockdemonolock merged commit5218b11 intomasterJan 2, 2024
@demonolockdemonolock deleted the update_node_func branchJanuary 2, 2024 16:54
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@asavchkovasavchkovasavchkov left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@demonolock@asavchkov

[8]ページ先頭

©2009-2025 Movatter.jp