Skip to content

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant