I have started working on feature #6794. The user wants to pass connection information, such as host, port, and username, to the passexec command without hardcoding these values. I plan to implement it as follows: The user will set environment variables for the host, port, and username, and before running the passexec command, we will replace the corresponding values with the environment variables.
Please share your suggestions or feedback on the approach I am proposing.
I'm not sure why the user would need to set environment variables - wouldn't pgAdmin just set them in the environment of the passexec process, based on the server definition?