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

[#266] OsOperations::build_path is added#273

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

Conversation

dmitry-lipetsk
Copy link
Collaborator

This thing must be used instead os.path.join(...).

I decided to use the name "build_path' instead "path_join". If you know the better name for this method, please, let me know. Thanks.

LocalOperations uses os.path.join
RemoteOperations uses posixpath.join

We updated:

  • utils.get_bin_path2
  • utils.get_pg_config2
  • utils.get_pg_version2 (note: new restrictions/asserts are added)
  • RemoteOperations::find_executable
  • RemoteOperations::copytree
  • PostgresNode::logs_dir
  • PostgresNode::data_dir
  • PostgresNode::utils_log_file
  • PostgresNode::pg_log_file
  • PostgresNode::_create_recovery_conf
  • PostgresNode::_collect_special_files
  • PostgresNode::default_conf
  • PostgresNode::append_conf
  • PostgresNode::set_auto_conf
  • PostgresNode::upgrade_from
  • PostgresNode::_get_bin_path
  • NodeApp::init
  • NodeApp::make_simple
  • cache.cached_initdb
  • cache.call_initdb
  • NodeBackup.log_file
  • NodeBackup.init
  • NodeBackup._prepare_dir

Patch was tested with probackup2.

This thing must be used instead os.path.join(...).LocalOperations uses os.path.joinRemoteOperations uses posixpath.joinWe updated: - utils.get_bin_path2 - utils.get_pg_config2 - utils.get_pg_version2 (note: new restrictions/asserts are added) - RemoteOperations::find_executable - RemoteOperations::copytree - PostgresNode::logs_dir - PostgresNode::data_dir - PostgresNode::utils_log_file - PostgresNode::pg_log_file - PostgresNode::_create_recovery_conf - PostgresNode::_collect_special_files - PostgresNode::default_conf - PostgresNode::append_conf - PostgresNode::set_auto_conf - PostgresNode::upgrade_from - PostgresNode::_get_bin_path - NodeApp::__init__ - NodeApp::make_simple - cache.cached_initdb - cache.call_initdb - NodeBackup.log_file - NodeBackup.__init__ - NodeBackup._prepare_dir
@dmitry-lipetskdmitry-lipetsk linked an issueJun 25, 2025 that may beclosed by this pull request
@dmitry-lipetskdmitry-lipetsk merged commit9da8981 intopostgrespro:masterJun 25, 2025
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

OsOperations::build_path is required
1 participant
@dmitry-lipetsk

[8]ページ先頭

©2009-2025 Movatter.jp