Skip to content

Ssh command line in RemoteOperations::execute is corrected #169

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

We use subprocess.list2cmdline(cmd) to pack a user command line.

It allows PostgresNode::_psql to build PSQL command line without a "special case" for remote-host.

Also

RemoteOperations::execute raises exception if 'cmd' parameter has an unknown type.

We use subprocess.list2cmdline(cmd) to pack a user command line.

It allows PostgresNode::_psql to build PSQL command line without a "special case" for remote-host.

Also

RemoteOperations::execute raises exception if 'cmd' parameter has an unknown type.
@dmitry-lipetsk dmitry-lipetsk merged commit 44c5fac into postgrespro:master Dec 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant